diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2012-09-14 15:39:49 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-09-19 19:54:44 +0200 |
commit | 514cdee46f78c88a9d883f6c006a71e7306e3fed (patch) | |
tree | 88ea0922e713b49fd1dfb783849067cd64197fb2 /mkspecs/features/testcase.prf | |
parent | aad3410864887d59ecd7d43ae7cf646a20b13c2b (diff) |
make 'make check' work with non-installed prefix builds
add the appropriate environment to the command lines
Change-Id: Ic9d3c60255be88f431213acd8c5e0ff55e014f5b
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
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} |