Skip to content

Commit ca6d757

Browse files
committed
Only run behave if unit tests pass
1 parent 57ac783 commit ca6d757

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

runtests.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,12 @@ else
7373
if [ ${EXIT_STATUS} -eq 0 ]
7474
then
7575
coverage report --show-missing
76+
python -c 'from test.tck.configure_feature_files import *; set_up()'
77+
echo "Feature files downloaded"
78+
neokit/neorun ${NEORUN_OPTIONS} "${BEHAVE_RUNNER}" ${VERSIONS}
79+
python -c 'from test.tck.configure_feature_files import *; clean_up()'
80+
echo "Feature files removed"
7681
fi
77-
python -c 'from test.tck.configure_feature_files import *; set_up()'
78-
echo "Feature files downloaded"
79-
neokit/neorun ${NEORUN_OPTIONS} "${BEHAVE_RUNNER}" ${VERSIONS}
80-
python -c 'from test.tck.configure_feature_files import *; clean_up()'
81-
echo "Feature files removed"
8282
fi
8383

8484
# Exit correctly

0 commit comments

Comments
 (0)