@@ -21,23 +21,19 @@ DRIVER_HOME=$(dirname $0)
2121
2222NEORUN_OPTIONS=" "
2323RUNNING=0
24- QUICK=0
2524KNOWN_HOSTS=" ${HOME} /.neo4j/known_hosts"
2625KNOWN_HOSTS_BACKUP=" ${KNOWN_HOSTS} .backup"
2726
2827FG_BRIGHT_RED=' \033[1;31m'
2928FG_DEFAULT=' \033[0m'
3029
3130# Parse options
32- while getopts " :dqr " OPTION
31+ while getopts " :dr " OPTION
3332do
3433 case ${OPTION} in
3534 d)
3635 NEORUN_OPTIONS=" -f"
3736 ;;
38- q)
39- QUICK=1
40- ;;
4137 r)
4238 RUNNING=1
4339 ;;
9086 ${TEST_RUNNER}
9187 check_exit_status $?
9288else
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
115112fi
0 commit comments