summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorAlex <qt-info@nokia.com>2009-07-21 17:17:27 +1000
committerAlex <qt-info@nokia.com>2009-07-21 17:17:27 +1000
commit2ecc46d5aba61cab0eb7503d7bbba5e76df4da21 (patch)
tree6adaef6c6743c34d6a01bbf06029bce0da3f98e2 /bin
parenta886e101f6e34677d63ea664e93e43afcd74cf03 (diff)
not all code paths are excercised if the testcase acts as valueserver.
This adds a new testcase which spawns a third process whose sole purpose it is to initialize the server. The server process must be the first process to start and the last process that terminates. Otherwise we end up with open socket handles which would would cause subsequent test case runs to fail
Diffstat (limited to 'bin')
-rw-r--r--bin/rununittests.bat1
-rwxr-xr-xbin/rununittests.sh1
2 files changed, 2 insertions, 0 deletions
diff --git a/bin/rununittests.bat b/bin/rununittests.bat
index c183ca84b0..f9bfe15acd 100644
--- a/bin/rununittests.bat
+++ b/bin/rununittests.bat
@@ -5,6 +5,7 @@ set PATH=%BATCH_PATH%..\build\Debug\bin;%PATH%
cd %BATCH_PATH%..\build\tests\Debug\bin
tst_qvaluespace.exe
+tst_qvaluespace_oop.exe
cd %SAVED_PWD%
diff --git a/bin/rununittests.sh b/bin/rununittests.sh
index 0bd2317ef0..06d5e593aa 100755
--- a/bin/rununittests.sh
+++ b/bin/rununittests.sh
@@ -9,6 +9,7 @@ SAVED_PWD=$PWD;
cd $shell_path/../build/tests/Debug/bin
LD_LIBRARY_PATH=$shell_path/../build/Debug/bin:$LD_LIBRARY_PATH
./tst_qvaluespace
+./tst_qvaluespace_oop
cd $SAVED_PWD