Commit 11064156 authored by Martin Mrovec's avatar Martin Mrovec
Browse files

ENH: run_tests script checks if the funit is installed

parent ba900b05
......@@ -10,10 +10,9 @@ echo "#------------------#"
cd src;
for F in ${FUNIT_SCRIPTS}; do
funit ${F} 2>&1 |tee funit.tmp;
TEST_STATUS=`grep 'failed' funit.tmp | wc -l`
funit ${F} || TEST_STATUS=1;
if [[ TEST_STATUS -gt 0 ]]; then
echo "ERROR: Unit test failed!"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment