summaryrefslogtreecommitdiffstats
path: root/mkspecs/features
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-07-23 09:53:18 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-07-23 11:08:15 +0200
commite85c531c5111bf8305d5789d90d151204952ddb1 (patch)
tree49f0a2b34c192484cae7aa2a1556ce071d9c6e0f /mkspecs/features
parentf16ab166bc7e33c6d4d4aa606618c8ed152608f1 (diff)
testlib selftest: Don't pass TESTARGS to Catch2
It doesn't understand the arguments we usually pass to testlib. Change-Id: Iea83d1d8c31a510b2bc442cbfc810eac631322e7 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'mkspecs/features')
-rw-r--r--mkspecs/features/testcase.prf2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/features/testcase.prf b/mkspecs/features/testcase.prf
index 7e9903d663..83c9d574f4 100644
--- a/mkspecs/features/testcase.prf
+++ b/mkspecs/features/testcase.prf
@@ -83,7 +83,7 @@ unix {
}
# Allow for custom arguments to tests
-$${type}.commands += $(TESTARGS)
+!catch: $${type}.commands += $(TESTARGS)
!isEmpty(TESTRUN_CWD):!contains(TESTRUN_CWD, ^\\./?): \
$${type}.commands = $$QMAKE_CD $$shell_path($$TESTRUN_CWD) && $$eval($${type}.commands)