File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 3737import getopt
3838
3939UNITTEST_RUNNER = "coverage run -m unittest discover -vfs "
40- BEHAVE_RUNNER = "behave --tags=-db --tags=-tls --tags=-fixed_session_pool test/tck"
40+ BEHAVE_RUNNER = "behave --format=progress -- tags=-db --tags=-tls --tags=-fixed_session_pool test/tck"
4141
4242NEORUN_PATH = path .abspath ('./neokit/neorun.py' )
4343NEO4J_HOME = path .abspath ('./build/neo4jhome' )
@@ -59,6 +59,7 @@ def runcommand(command):
5959
6060def runcommands (commands ):
6161 if is_windows :
62+ commands = ["\" " + comm + "\" " if " " in comm else comm for comm in commands ]
6263 commands = ['powershell.exe' ] + commands
6364 return run0 (commands )
6465
@@ -120,9 +121,9 @@ def main():
120121 retcode = retcode or runpymodule (UNITTEST_RUNNER + "examples" )
121122 elif opt == "--tck" :
122123 retcode = runpymodule ('coverage report --show-missing' ) or \
123- runcommands (["python" , "-c" , "\" from test.tck.configure_feature_files import *; set_up()\" " ]) or \
124+ runcommands (["python" , "-c" , "from test.tck.configure_feature_files import *; set_up()" ]) or \
124125 runpymodule (BEHAVE_RUNNER ) or \
125- runcommands (["python" , "-c" , "\" from test.tck.configure_feature_files import *; clean_up()\" " ])
126+ runcommands (["python" , "-c" , "from test.tck.configure_feature_files import *; clean_up()" ])
126127
127128 if retcode != 0 :
128129 break
You can’t perform that action at this time.
0 commit comments