Added new unit tests to tests.pro, minor test script modifications
authorSami Rämö <sami.ramo@ixonos.com>
Tue, 13 Jul 2010 12:24:48 +0000 (15:24 +0300)
committerSami Rämö <sami.ramo@ixonos.com>
Tue, 13 Jul 2010 12:24:48 +0000 (15:24 +0300)
scripts/run_unit_tests.sh
tests/routing/route/route.pro
tests/routing/routesegment/routesegment.pro
tests/tests.pro

index 06fb597..3641427 100755 (executable)
@@ -91,8 +91,9 @@ if [[ -d $REPORT_PATH && -d $UNIT_TESTS_ROOT_DIR ]]; then
         tput sgr0 # restore terminal defaults
         echo ""
         echo "Some possible causes:"
-        echo "  - project has set target name explicitly. Target name must be same as directory name"
+        echo "  - project has set target name explicitly. Target name must be same as the directory name"
         echo "  - don't use shadow build system"
+        echo "  - test project is not included in the master test project (tests/tests.pro)"
 
         # and save same list also to test summary file
         echo "" >> $REPORT
index c626dd9..64df984 100644 (file)
@@ -8,7 +8,6 @@ QT       += testlib
 
 QT       -= gui
 
-TARGET = testroute
 CONFIG   += console
 CONFIG   -= app_bundle
 
index 39ac1ab..7cbc84a 100644 (file)
@@ -8,7 +8,6 @@ QT       += testlib
 
 QT       -= gui
 
-TARGET = testroutesegment
 CONFIG   += console
 CONFIG   -= app_bundle
 
index 9ab0339..f355b75 100644 (file)
@@ -10,4 +10,6 @@ SUBDIRS = map/mapengine \
           user \
           ui/friendlist \
           ui/sidepanel \
-          ui/avatarimage
+          ui/avatarimage \
+          routing/route \
+          routing/routesegment