From 62d3d5b4933658b2143625118f9b053dde4fec74 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sami=20R=C3=A4m=C3=B6?= Date: Tue, 13 Jul 2010 15:24:48 +0300 Subject: [PATCH] Added new unit tests to tests.pro, minor test script modifications --- scripts/run_unit_tests.sh | 3 ++- tests/routing/route/route.pro | 1 - tests/routing/routesegment/routesegment.pro | 1 - tests/tests.pro | 4 +++- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/scripts/run_unit_tests.sh b/scripts/run_unit_tests.sh index 06fb597..3641427 100755 --- a/scripts/run_unit_tests.sh +++ b/scripts/run_unit_tests.sh @@ -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 diff --git a/tests/routing/route/route.pro b/tests/routing/route/route.pro index c626dd9..64df984 100644 --- a/tests/routing/route/route.pro +++ b/tests/routing/route/route.pro @@ -8,7 +8,6 @@ QT += testlib QT -= gui -TARGET = testroute CONFIG += console CONFIG -= app_bundle diff --git a/tests/routing/routesegment/routesegment.pro b/tests/routing/routesegment/routesegment.pro index 39ac1ab..7cbc84a 100644 --- a/tests/routing/routesegment/routesegment.pro +++ b/tests/routing/routesegment/routesegment.pro @@ -8,7 +8,6 @@ QT += testlib QT -= gui -TARGET = testroutesegment CONFIG += console CONFIG -= app_bundle diff --git a/tests/tests.pro b/tests/tests.pro index 9ab0339..f355b75 100644 --- a/tests/tests.pro +++ b/tests/tests.pro @@ -10,4 +10,6 @@ SUBDIRS = map/mapengine \ user \ ui/friendlist \ ui/sidepanel \ - ui/avatarimage + ui/avatarimage \ + routing/route \ + routing/routesegment -- 1.7.9.5