@@ -21,23 +21,19 @@ DRIVER_HOME=$(dirname $0)
21
21
22
22
NEORUN_OPTIONS=" "
23
23
RUNNING=0
24
- QUICK=0
25
24
KNOWN_HOSTS=" ${HOME} /.neo4j/known_hosts"
26
25
KNOWN_HOSTS_BACKUP=" ${KNOWN_HOSTS} .backup"
27
26
28
27
FG_BRIGHT_RED=' \033[1;31m'
29
28
FG_DEFAULT=' \033[0m'
30
29
31
30
# Parse options
32
- while getopts " :dqr " OPTION
31
+ while getopts " :dr " OPTION
33
32
do
34
33
case ${OPTION} in
35
34
d)
36
35
NEORUN_OPTIONS=" -f"
37
36
;;
38
- q)
39
- QUICK=1
40
- ;;
41
37
r)
42
38
RUNNING=1
43
39
;;
90
86
${TEST_RUNNER}
91
87
check_exit_status $?
92
88
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}
93
95
export NEO4J_PASSWORD=" password"
94
96
95
97
echo " Running unit tests"
96
98
neokit/neorun ${NEORUN_OPTIONS} " ${TEST_RUNNER} " ${VERSIONS}
97
99
check_exit_status $?
98
100
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 $?
112
104
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"
114
111
115
112
fi
0 commit comments