diff options
Diffstat (limited to 'mkspecs/features/testcase.prf')
-rw-r--r-- | mkspecs/features/testcase.prf | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mkspecs/features/testcase.prf b/mkspecs/features/testcase.prf index f76018a6e4..64065018f3 100644 --- a/mkspecs/features/testcase.prf +++ b/mkspecs/features/testcase.prf @@ -36,6 +36,9 @@ else: check.commands += $(DESTDIR_TARGET) # Allow for custom arguments to tests check.commands += $(TESTARGS) +# Add environment for non-installed builds +qtAddTargetEnv(check.commands) + # If the test is marked as insignificant, discard the exit code insignificant_test:check.commands = -$${check.commands} |