aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2019-08-02 11:00:55 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2019-08-07 11:41:23 +0000
commit3c1f1eaca19eb0e382fe1663b3f69e279c3050b4 (patch)
treeaf1852d571cea5ac72721f093eeacfddc442cf8d /tests
parent52c5a37ea8c18f6c609e5beec696376c30d7b6db (diff)
Fix autotests for older compilers
Amends 923f98062b. Change-Id: Ib98279e962128573a46d8d6f9cfd822494d0dfd8 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Jochen Ulrich <jochenulrich@t-online.de>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/api/testdata/timeout-process/timeout.qbs1
-rw-r--r--tests/auto/blackbox/testdata/autotest-timeout/autotests-timeout.qbs1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/api/testdata/timeout-process/timeout.qbs b/tests/auto/api/testdata/timeout-process/timeout.qbs
index 9f1491ff4..3f79dce96 100644
--- a/tests/auto/api/testdata/timeout-process/timeout.qbs
+++ b/tests/auto/api/testdata/timeout-process/timeout.qbs
@@ -4,6 +4,7 @@ Project {
consoleApplication: true // suppress bundle generation
files: "main.cpp"
name: "infinite-loop"
+ cpp.cxxLanguageVersion: "c++11"
}
Product {
diff --git a/tests/auto/blackbox/testdata/autotest-timeout/autotests-timeout.qbs b/tests/auto/blackbox/testdata/autotest-timeout/autotests-timeout.qbs
index 2cc20c3fd..270fc9eaf 100644
--- a/tests/auto/blackbox/testdata/autotest-timeout/autotests-timeout.qbs
+++ b/tests/auto/blackbox/testdata/autotest-timeout/autotests-timeout.qbs
@@ -3,6 +3,7 @@ Project {
name: "testApp"
type: ["application", "autotest"]
Depends { name: "autotest" }
+ cpp.cxxLanguageVersion: "c++11"
files: "test-main.cpp"
}
AutotestRunner {}