diff options
author | Oswald Buddenhagen <oswald.buddenhagen@qt.io> | 2018-07-13 21:25:12 +0200 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@qt.io> | 2018-12-19 19:22:06 +0000 |
commit | 73b8769730701736cd0d05f904b69f2e7e35de1d (patch) | |
tree | ec7fd0220f492df0306bd8f1596f61f2ba755101 /mkspecs/features | |
parent | b6cd5fdc6b7c799a80126659f35801af9a26601a (diff) | |
download | qtbase-73b8769730701736cd0d05f904b69f2e7e35de1d.tar.gz |
configure: enable inline tests to contain auxiliary files
... and use that to migrate the pch test.
Change-Id: I2ce884442cab6124c37142f571cf6f82191ee4f5
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'mkspecs/features')
-rw-r--r-- | mkspecs/features/qt_configure.prf | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mkspecs/features/qt_configure.prf b/mkspecs/features/qt_configure.prf index 72bbd42fa5..f5aa444ade 100644 --- a/mkspecs/features/qt_configure.prf +++ b/mkspecs/features/qt_configure.prf @@ -1170,6 +1170,11 @@ defineTest(qtConfPrepareCompileTestSource) { "}" write_file($$test_dir/main.$$suffix, contents)|error() + for (test, tests) { + for (file, $$qtConfScalarOrList($${test}.test.files._KEYS_)): \ + write_file($$test_dir/$$file, $$qtConfScalarOrList($${test}.test.files.$${file}))|error() + } + # Create stub .pro file contents = "SOURCES = main.$$suffix" # Custom project code |