summaryrefslogtreecommitdiffstats
path: root/tests/auto/selftests/tst_selftests.cpp
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2009-03-26 00:30:53 (GMT)
committerRohan McGovern <rohan.mcgovern@nokia.com>2009-03-26 00:40:16 (GMT)
commit312c0d24443a5703fbb747911e039525e8567bbb (patch)
tree709a2dda12c617c69c3097f12b1ef090db0e630c /tests/auto/selftests/tst_selftests.cpp
parenta84be07310816f133985fd897c654848b0174235 (diff)
downloadQt-312c0d24443a5703fbb747911e039525e8567bbb.zip
Qt-312c0d24443a5703fbb747911e039525e8567bbb.tar.gz
Qt-312c0d24443a5703fbb747911e039525e8567bbb.tar.bz2
Change testlib selftest targets to help autotest tools.
The testlib subtests are conceptually not standalone unit tests, rather they are helper programs for the real unit test, tst_selftests. So, as is done for other similar tests (e.g. qprocess), don't name them with `tst_'. This makes it easier for automated tools to figure out that they shouldn't directly run these tests. Reviewed-by: Shane Bradley
Diffstat (limited to 'tests/auto/selftests/tst_selftests.cpp')
-rw-r--r--tests/auto/selftests/tst_selftests.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/selftests/tst_selftests.cpp b/tests/auto/selftests/tst_selftests.cpp
index 4243612..103fd79 100644
--- a/tests/auto/selftests/tst_selftests.cpp
+++ b/tests/auto/selftests/tst_selftests.cpp
@@ -195,7 +195,7 @@ void tst_Selftests::runSubTest()
QProcess proc;
proc.setEnvironment(QStringList(""));
- proc.start(subdir + "/tst_" + subdir, arguments);
+ proc.start(subdir + "/" + subdir, arguments);
QVERIFY(proc.waitForFinished());
const QByteArray out(proc.readAllStandardOutput());
@@ -309,7 +309,7 @@ void tst_Selftests::checkXML() const
QProcess proc;
proc.setEnvironment(QStringList(""));
- proc.start(subdir + "/tst_" + subdir, arguments);
+ proc.start(subdir + "/" + subdir, arguments);
QVERIFY(proc.waitForFinished());
QByteArray out(proc.readAllStandardOutput());