diff options
author | Jake Petroules <jake.petroules@petroules.com> | 2015-07-07 18:32:48 -0700 |
---|---|---|
committer | Jake Petroules <jake.petroules@petroules.com> | 2015-07-08 09:09:27 +0000 |
commit | 9268fef2386c6cd6892e6298473a3b81c2689dc7 (patch) | |
tree | 4392bbada5dc3212535cbe7b4687365d8258f12a /tests/auto/blackbox/blackbox.pro | |
parent | 60f36d7e8879fc7edbf22f5852e85e1cd9d9cbbc (diff) |
Include blackbox testdata files in project.
This allows them to be displayed in IDE file trees.
Change-Id: I316fb22bd534c087a2941e005299e9353b786398
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Diffstat (limited to 'tests/auto/blackbox/blackbox.pro')
-rw-r--r-- | tests/auto/blackbox/blackbox.pro | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/blackbox/blackbox.pro b/tests/auto/blackbox/blackbox.pro index 1c8e97e63..24e275275 100644 --- a/tests/auto/blackbox/blackbox.pro +++ b/tests/auto/blackbox/blackbox.pro @@ -4,3 +4,13 @@ HEADERS = tst_blackbox.h SOURCES = tst_blackbox.cpp include(../auto.pri) + +DATA_DIRS = testdata + +for(data_dir, DATA_DIRS) { + files = $$files($$PWD/$$data_dir/*, true) + win32:files ~= s|\\\\|/|g + for(file, files):!exists($$file/*):FILES += $$file +} + +OTHER_FILES += $$FILES |