Skip to content
Snippets Groups Projects
Commit e75eb729 authored by Martin Beseda's avatar Martin Beseda
Browse files

FIX: Fixed run_tests.sh

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