Skip to content

Commit 052dd65

Browse files
committed
Reverted runtests -q
1 parent a607d93 commit 052dd65

File tree

1 file changed

+16
-19
lines changed

1 file changed

+16
-19
lines changed

runtests.sh

Lines changed: 16 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -21,23 +21,19 @@ DRIVER_HOME=$(dirname $0)
2121

2222
NEORUN_OPTIONS=""
2323
RUNNING=0
24-
QUICK=0
2524
KNOWN_HOSTS="${HOME}/.neo4j/known_hosts"
2625
KNOWN_HOSTS_BACKUP="${KNOWN_HOSTS}.backup"
2726

2827
FG_BRIGHT_RED='\033[1;31m'
2928
FG_DEFAULT='\033[0m'
3029

3130
# Parse options
32-
while getopts ":dqr" OPTION
31+
while getopts ":dr" OPTION
3332
do
3433
case ${OPTION} in
3534
d)
3635
NEORUN_OPTIONS="-f"
3736
;;
38-
q)
39-
QUICK=1
40-
;;
4137
r)
4238
RUNNING=1
4339
;;
@@ -90,26 +86,27 @@ then
9086
${TEST_RUNNER}
9187
check_exit_status $?
9288
else
89+
#echo "Updating password"
90+
#mv ${KNOWN_HOSTS} ${KNOWN_HOSTS_BACKUP}
91+
#neokit/neorun ${NEORUN_OPTIONS} "python -m test.auth password" ${VERSIONS}
92+
#EXIT_STATUS=$?
93+
#mv ${KNOWN_HOSTS_BACKUP} ${KNOWN_HOSTS}
94+
#check_exit_status ${EXIT_STATUS}
9395
export NEO4J_PASSWORD="password"
9496

9597
echo "Running unit tests"
9698
neokit/neorun ${NEORUN_OPTIONS} "${TEST_RUNNER}" ${VERSIONS}
9799
check_exit_status $?
98100

99-
if [ ${QUICK} -eq 0 ]
100-
then
101-
echo "Testing example code"
102-
neokit/neorun ${NEORUN_OPTIONS} "${EXAMPLES_RUNNER}" ${VERSIONS}
103-
check_exit_status $?
104-
105-
echo "Testing TCK"
106-
coverage report --show-missing
107-
python -c 'from test.tck.configure_feature_files import *; set_up()'
108-
echo "Feature files downloaded"
109-
neokit/neorun ${NEORUN_OPTIONS} "${BEHAVE_RUNNER}" ${VERSIONS}
110-
python -c 'from test.tck.configure_feature_files import *; clean_up()'
111-
echo "Feature files removed"
101+
echo "Testing example code"
102+
neokit/neorun ${NEORUN_OPTIONS} "${EXAMPLES_RUNNER}" ${VERSIONS}
103+
check_exit_status $?
112104

113-
fi
105+
coverage report --show-missing
106+
python -c 'from test.tck.configure_feature_files import *; set_up()'
107+
echo "Feature files downloaded"
108+
neokit/neorun ${NEORUN_OPTIONS} "${BEHAVE_RUNNER}" ${VERSIONS}
109+
python -c 'from test.tck.configure_feature_files import *; clean_up()'
110+
echo "Feature files removed"
114111

115112
fi

0 commit comments

Comments
 (0)