unittests: exit if nosetests exits with error code

For now unitetests.sh is useless, as it returns 0 anyway.

Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
Ruslan Kuprieiev
2017-06-11 22:42:29 +03:00
parent 016229d193
commit b502691b0e
+3
View File
@@ -1,3 +1,6 @@
#!/bin/bash
set -e
nosetests --cover-inclusive --cover-erase --cover-package=dvc --with-coverage
if [ "$1" = "report" ]; then