summaryrefslogtreecommitdiffstats
path: root/tests/auto/qsharedpointer/tst_qsharedpointer.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2010-03-30 13:33:13 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2010-03-30 13:33:13 (GMT)
commitf39a71a6c44e5011a169dfa6840a33a9b5075c77 (patch)
tree758d82bf9349e95ed1c1bca051cd3d94805d023b /tests/auto/qsharedpointer/tst_qsharedpointer.cpp
parentc45ce66ce417718e09de276bfdb663aa5e9fe366 (diff)
downloadQt-f39a71a6c44e5011a169dfa6840a33a9b5075c77.zip
Qt-f39a71a6c44e5011a169dfa6840a33a9b5075c77.tar.gz
Qt-f39a71a6c44e5011a169dfa6840a33a9b5075c77.tar.bz2
Autotest: don't allow choosing between debug/release mode.
You can't build for debug mode on Windows if Qt wasn't built in debug mode. So force the selection to be exactly what Qt was built. Reviewed-by: Trust Me
Diffstat (limited to 'tests/auto/qsharedpointer/tst_qsharedpointer.cpp')
-rw-r--r--tests/auto/qsharedpointer/tst_qsharedpointer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qsharedpointer/tst_qsharedpointer.cpp b/tests/auto/qsharedpointer/tst_qsharedpointer.cpp
index 7cfa868..cb32c9a 100644
--- a/tests/auto/qsharedpointer/tst_qsharedpointer.cpp
+++ b/tests/auto/qsharedpointer/tst_qsharedpointer.cpp
@@ -1717,11 +1717,11 @@ void tst_QSharedPointer::invalidConstructs()
#endif
QTest::QExternalTest test;
- test.setDebugMode(true);
test.setQtModules(QTest::QExternalTest::QtCore);
test.setExtraProgramSources(QStringList() << SRCDIR "forwarddeclared.cpp");
test.setProgramHeader(
"#define QT_SHAREDPOINTER_TRACK_POINTERS\n"
+ "#define QT_DEBUG\n"
"#include <QtCore/qsharedpointer.h>\n"
"#include <QtCore/qcoreapplication.h>\n"
"\n"