diff --git a/tests/auto/corelib/tools/qsharedpointer/externaltests.cpp b/tests/auto/corelib/tools/qsharedpointer/externaltests.cpp index 1bfa1c10a0..e67bbd93ff 100644 --- a/tests/auto/corelib/tools/qsharedpointer/externaltests.cpp +++ b/tests/auto/corelib/tools/qsharedpointer/externaltests.cpp @@ -68,6 +68,9 @@ static QString makespec() { static const char default_makespec[] = DEFAULT_MAKESPEC; + if (default_makespec[0] == '/') + return QString::fromLatin1(default_makespec); + const char *p; for (p = default_makespec + sizeof(default_makespec) - 1; p >= default_makespec; --p) if (*p == '/' || *p == '\\') diff --git a/tests/auto/corelib/tools/qsharedpointer/qsharedpointer.pro b/tests/auto/corelib/tools/qsharedpointer/qsharedpointer.pro index fc791f485c..014006e782 100644 --- a/tests/auto/corelib/tools/qsharedpointer/qsharedpointer.pro +++ b/tests/auto/corelib/tools/qsharedpointer/qsharedpointer.pro @@ -13,5 +13,3 @@ QT = core include(externaltests.pri) CONFIG += parallel_test - -CONFIG += insignificant_test # QTBUG-21402