Skip to content

Commit

Permalink
Exit the run tests script with the result of the actual testing, not …
Browse files Browse the repository at this point in the history
…of the rm command (which tends to be 0)
  • Loading branch information
breyten committed Apr 7, 2017
1 parent 8d3fd50 commit 554ad96
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@
echo 'THUMBNAIL_URL = "/media/"' > ocd_frontend/travis_settings.py
#nosetests -l debug --nocapture --with-coverage --cover-package=ocd_backend,ocd_frontend --cover-inclusive
nosetests --with-coverage --cover-package=ocd_backend,ocd_frontend --cover-inclusive
rm ocd_frontend/travis_settings.py
TEST_EXIT_VAL=$?
rm -f ocd_frontend/travis_settings.py
exit $TEST_EXIT_VAL

0 comments on commit 554ad96

Please sign in to comment.