Modified test script. Added networkhandlerprivate and
[situare] / scripts / run_unit_tests.sh
index 0b5de38..06fb597 100755 (executable)
@@ -29,7 +29,7 @@ if [[ -d $REPORT_PATH && -d $UNIT_TESTS_ROOT_DIR ]]; then
     echo "" >> $REPORT
 
     # find all test .pro files pahts, cut .pro extension
-    UNIT_TEST_PROJECTS=(`find $UNIT_TESTS_ROOT_DIR_ABSOLUTE | egrep .pro$ | sed -e s/.pro//g`)
+    UNIT_TEST_PROJECTS=(`find $UNIT_TESTS_ROOT_DIR_ABSOLUTE | egrep \.pro$ | sed -e s,[^/]pro,,g`)
 
     echo "###################################################"
     echo "All unit test executables will be deleted"