summaryrefslogtreecommitdiffstats
path: root/tests/auto/testlib
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/testlib')
-rw-r--r--tests/auto/testlib/selftests/expected_waitwithoutgui.lightxml0
-rw-r--r--tests/auto/testlib/selftests/expected_waitwithoutgui.txt2
-rw-r--r--tests/auto/testlib/selftests/expected_waitwithoutgui.xml0
-rw-r--r--tests/auto/testlib/selftests/expected_waitwithoutgui.xunitxml0
-rw-r--r--tests/auto/testlib/selftests/selftests.pro2
-rw-r--r--tests/auto/testlib/selftests/selftests.qrc4
-rw-r--r--tests/auto/testlib/selftests/tst_selftests.cpp4
-rw-r--r--tests/auto/testlib/selftests/waitwithoutgui/tst_waitwithoutgui.cpp62
-rw-r--r--tests/auto/testlib/selftests/waitwithoutgui/waitwithoutgui.pro13
9 files changed, 1 insertions, 86 deletions
diff --git a/tests/auto/testlib/selftests/expected_waitwithoutgui.lightxml b/tests/auto/testlib/selftests/expected_waitwithoutgui.lightxml
deleted file mode 100644
index e69de29bb2..0000000000
--- a/tests/auto/testlib/selftests/expected_waitwithoutgui.lightxml
+++ /dev/null
diff --git a/tests/auto/testlib/selftests/expected_waitwithoutgui.txt b/tests/auto/testlib/selftests/expected_waitwithoutgui.txt
deleted file mode 100644
index a1691071a0..0000000000
--- a/tests/auto/testlib/selftests/expected_waitwithoutgui.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-We just output something such that there's a baseline to compare against.
-Finished waiting!
diff --git a/tests/auto/testlib/selftests/expected_waitwithoutgui.xml b/tests/auto/testlib/selftests/expected_waitwithoutgui.xml
deleted file mode 100644
index e69de29bb2..0000000000
--- a/tests/auto/testlib/selftests/expected_waitwithoutgui.xml
+++ /dev/null
diff --git a/tests/auto/testlib/selftests/expected_waitwithoutgui.xunitxml b/tests/auto/testlib/selftests/expected_waitwithoutgui.xunitxml
deleted file mode 100644
index e69de29bb2..0000000000
--- a/tests/auto/testlib/selftests/expected_waitwithoutgui.xunitxml
+++ /dev/null
diff --git a/tests/auto/testlib/selftests/selftests.pro b/tests/auto/testlib/selftests/selftests.pro
index 2f1c327e34..27a6d5d3f4 100644
--- a/tests/auto/testlib/selftests/selftests.pro
+++ b/tests/auto/testlib/selftests/selftests.pro
@@ -2,7 +2,7 @@ TEMPLATE = subdirs
SUBDIRS = subtest test warnings maxwarnings cmptest globaldata skipglobal skip \
strcmp expectfail sleep fetchbogus crashes multiexec failinit failinitdata \
- skipinit skipinitdata datetime singleskip assert waitwithoutgui differentexec \
+ skipinit skipinitdata datetime singleskip assert differentexec \
exceptionthrow qexecstringlist datatable commandlinedata\
benchlibwalltime benchlibcallgrind benchlibeventcounter benchlibtickcounter \
benchliboptions xunit badxml longstring
diff --git a/tests/auto/testlib/selftests/selftests.qrc b/tests/auto/testlib/selftests/selftests.qrc
index f82722b0e2..77b4d213c0 100644
--- a/tests/auto/testlib/selftests/selftests.qrc
+++ b/tests/auto/testlib/selftests/selftests.qrc
@@ -122,10 +122,6 @@
<file>expected_subtest.txt</file>
<file>expected_subtest.xml</file>
<file>expected_subtest.xunitxml</file>
- <file>expected_waitwithoutgui.lightxml</file>
- <file>expected_waitwithoutgui.txt</file>
- <file>expected_waitwithoutgui.xml</file>
- <file>expected_waitwithoutgui.xunitxml</file>
<file>expected_warnings.lightxml</file>
<file>expected_warnings.txt</file>
<file>expected_warnings.xml</file>
diff --git a/tests/auto/testlib/selftests/tst_selftests.cpp b/tests/auto/testlib/selftests/tst_selftests.cpp
index fcf1b05c58..9c9d281478 100644
--- a/tests/auto/testlib/selftests/tst_selftests.cpp
+++ b/tests/auto/testlib/selftests/tst_selftests.cpp
@@ -210,7 +210,6 @@ void tst_Selftests::runSubTest_data()
<< "assert"
#endif
- << "waitwithoutgui"
<< "differentexec"
#ifndef QT_NO_EXCEPTIONS
// The machine that run the intel autotests will popup a dialog
@@ -282,9 +281,6 @@ void tst_Selftests::runSubTest_data()
if (subtest == "benchliboptions") {
continue;
}
- if (subtest == "waitwithoutgui") {
- continue;
- }
// `crashes' will not output valid XML on platforms without a crash handler
if (subtest == "crashes") {
continue;
diff --git a/tests/auto/testlib/selftests/waitwithoutgui/tst_waitwithoutgui.cpp b/tests/auto/testlib/selftests/waitwithoutgui/tst_waitwithoutgui.cpp
deleted file mode 100644
index 9c0bb862b3..0000000000
--- a/tests/auto/testlib/selftests/waitwithoutgui/tst_waitwithoutgui.cpp
+++ /dev/null
@@ -1,62 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
-** All rights reserved.
-** Contact: Nokia Corporation (qt-info@nokia.com)
-**
-** This file is part of the test suite of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:LGPL$
-** GNU Lesser General Public License Usage
-** This file may be used under the terms of the GNU Lesser General Public
-** License version 2.1 as published by the Free Software Foundation and
-** appearing in the file LICENSE.LGPL included in the packaging of this
-** file. Please review the following information to ensure the GNU Lesser
-** General Public License version 2.1 requirements will be met:
-** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-**
-** In addition, as a special exception, Nokia gives you certain additional
-** rights. These rights are described in the Nokia Qt LGPL Exception
-** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU General
-** Public License version 3.0 as published by the Free Software Foundation
-** and appearing in the file LICENSE.GPL included in the packaging of this
-** file. Please review the following information to ensure the GNU General
-** Public License version 3.0 requirements will be met:
-** http://www.gnu.org/copyleft/gpl.html.
-**
-** Other Usage
-** Alternatively, this file may be used in accordance with the terms and
-** conditions contained in a signed written agreement between you and Nokia.
-**
-**
-**
-**
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-
-#include <QtTest/QtTest>
-#include <QTextStream>
-#include <QCoreApplication>
-
-int main(int argc, char **argv)
-{
- QCoreApplication app(argc, argv);
-
- QTextStream out(stdout);
-
- out << "We just output something such that there's a baseline to compare against." << endl;
-
- /* Simply call qWait(). */
- QTest::qWait(100);
-
- out << "Finished waiting!" << endl;
-
- return 0;
-}
-
diff --git a/tests/auto/testlib/selftests/waitwithoutgui/waitwithoutgui.pro b/tests/auto/testlib/selftests/waitwithoutgui/waitwithoutgui.pro
deleted file mode 100644
index 6c28390da9..0000000000
--- a/tests/auto/testlib/selftests/waitwithoutgui/waitwithoutgui.pro
+++ /dev/null
@@ -1,13 +0,0 @@
-load(qttest_p4)
-
-# this is not a real testcase ('make check' should not run it)
-CONFIG -= testcase
-
-QT -= gui
-SOURCES += tst_waitwithoutgui.cpp
-
-mac:CONFIG -= app_bundle
-CONFIG -= debug_and_release_target
-
-
-TARGET = waitwithoutgui