Skip to content

Commit 2e48a57

Browse files
author
Zhen Li
committed
Merge branch '1.0' into 1.1
2 parents 590c7eb + acd18e5 commit 2e48a57

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

runtests.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
import getopt
3838

3939
UNITTEST_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

4242
NEORUN_PATH = path.abspath('./neokit/neorun.py')
4343
NEO4J_HOME = path.abspath('./build/neo4jhome')
@@ -59,6 +59,7 @@ def runcommand(command):
5959

6060
def 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

0 commit comments

Comments
 (0)