diff options
author | Wolf-Michael Bolle <wolf-michael.bolle@nokia.com> | 2011-12-15 08:18:50 +0100 |
---|---|---|
committer | Wolf-Michael Bolle <wolf-michael.bolle@nokia.com> | 2011-12-15 08:25:17 +0100 |
commit | 060aa23f5c5c8b651a7d885efab6d0b8f6f12cd3 (patch) | |
tree | 682398cf3b026e56cd88e86109a97d4a52da3d87 | |
parent | d21fded67e9cf99523e7967e0faf01e301c373ac (diff) |
Install unit test results.
-rw-r--r-- | tests/auto/qmimetype/qmimetype.pro | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/tests/auto/qmimetype/qmimetype.pro b/tests/auto/qmimetype/qmimetype.pro index 59e1212..a47f427 100644 --- a/tests/auto/qmimetype/qmimetype.pro +++ b/tests/auto/qmimetype/qmimetype.pro @@ -18,7 +18,20 @@ HEADERS += tst_qmimetype.h QMAKE_EXTRA_TARGETS += check check.depends = $$TARGET -check.commands = ./$$TARGET -xunitxml -o unitTestResults.xml +check.commands = ./$$TARGET -xunitxml -o $${TARGET}.xml + +exists($${TARGET}.xml): { + tests_results.files += $${TARGET}.xml + + unix:!symbian { + maemo5 { + tests_results.path = /opt/usr/share/QtMimeTypes-unittests + } else { + tests_results.path = /usr/share/QtMimeTypes-unittests + } + INSTALLS += tests_results + } +} unix:!symbian { maemo5 { |