diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-11-13 19:13:03 +0100 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-11-14 10:22:34 +0000 |
commit | 387f360b3b2634094889478f2b258e65a70b9aa6 (patch) | |
tree | 7d9ebf04b46d2a25d41bae1cfb11db51daa2b318 /tests/auto/qml/qjsengine | |
parent | e9cac99f3796740ea93b23b0fe893fc880e0b5d4 (diff) |
Regenerate tests
Change-Id: I67a6c8f1659e7b471a4fcb92a2699292cf4eea81
Reviewed-by: Qt CMake Build Bot
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tests/auto/qml/qjsengine')
-rw-r--r-- | tests/auto/qml/qjsengine/CMakeLists.txt | 37 |
1 files changed, 18 insertions, 19 deletions
diff --git a/tests/auto/qml/qjsengine/CMakeLists.txt b/tests/auto/qml/qjsengine/CMakeLists.txt index 2d5980760f..f3534f59dd 100644 --- a/tests/auto/qml/qjsengine/CMakeLists.txt +++ b/tests/auto/qml/qjsengine/CMakeLists.txt @@ -5,15 +5,12 @@ ##################################################################### # Collect test data - -file(GLOB test_data_glob - LIST_DIRECTORIES true +file(GLOB_RECURSE test_data_glob RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} - "script/*") + script/*) list(APPEND test_data ${test_data_glob}) add_qt_test(tst_qjsengine - GUI SOURCES tst_qjsengine.cpp LIBRARIES @@ -27,31 +24,33 @@ add_qt_test(tst_qjsengine ) # Resources: +set(qjsengine_resource_files + "translations/idtranslatable-unicode.qm" + "translations/idtranslatable_la.qm" + "translations/translatable-unicode.qm" + "translations/translatable_la.qm" +) + add_qt_resource(tst_qjsengine "qjsengine" PREFIX "/" FILES - translations/idtranslatable-unicode.qm - translations/idtranslatable_la.qm - translations/translatable-unicode.qm - translations/translatable_la.qm + ${qjsengine_resource_files} +) +set(qmake_immediate_resource_files + "exporterror1.mjs" + "importerror1.mjs" + "modulewithlexicals.mjs" + "testmodule.mjs" ) + add_qt_resource(tst_qjsengine "qmake_immediate" PREFIX "/" FILES - exporterror1.mjs - importerror1.mjs - modulewithlexicals.mjs - testmodule.mjs + ${qmake_immediate_resource_files} ) -#### Keys ignored in scope 1:.:.:qjsengine.pro:<TRUE>: -# CONFIG = "testcase" - ## Scopes: ##################################################################### - -#### Keys ignored in scope 2:.:.:qjsengine.pro:APPLE_OSX: -# CONFIG = "-app_bundle" |