diff options
author | Jake Petroules <jake.petroules@qt.io> | 2016-11-30 22:01:19 -0800 |
---|---|---|
committer | Jake Petroules <jake.petroules@qt.io> | 2016-12-22 21:49:12 +0000 |
commit | 193d84079acaaaa8d9e72ab40c3c3c0d42275aec (patch) | |
tree | 6f5775536e0bf113ecaff2a767bff5933093a63d /tests/auto/language/language.pro | |
parent | 5a8d76c2f6006ff70bcc78853dbe95b6465851a8 (diff) |
Move language testdata to a more sensible location
All over testdata directories are located within the tests/
hierarchy, so be consistent. Also, this simplies the exlusions
list when collecting files to build for bootstrapping.
Change-Id: Iab6aca8053454f8254779a3337356cf3a1cdbbec
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'tests/auto/language/language.pro')
-rw-r--r-- | tests/auto/language/language.pro | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/language/language.pro b/tests/auto/language/language.pro index f52798e71..1206bd328 100644 --- a/tests/auto/language/language.pro +++ b/tests/auto/language/language.pro @@ -4,3 +4,13 @@ SOURCES = tst_language.cpp include(../auto.pri) include(../../../src/app/shared/logging/logging.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 |