diff options
author | Assam Boudjelthia <assam.boudjelthia@qt.io> | 2022-04-26 14:52:44 +0300 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-04-28 03:38:27 +0000 |
commit | 112d0bfc0cfbb95b40eb5316076b4c87213cbd58 (patch) | |
tree | bbbe8ce3bbee112059e6d7c2af5e9d48eacd509c | |
parent | ced7507cfe043e0619df054936bad6eee401c2f5 (diff) |
Don't run rep_from_header test when cross-compiling
rep_from_header test is testing the replica files which makes it
useful to run only for host.
Task-number: QTBUG-100449
Change-Id: Iac528f2c3e26cea5bd29ba3e273ef05b70ca87dd
Reviewed-by: Tatiana Borisova <tatiana.borisova@qt.io>
Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
(cherry picked from commit 24cee6084e17e58e7d6ef0b5b1364fd89884edd5)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | tests/auto/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/CMakeLists.txt b/tests/auto/CMakeLists.txt index 0ac483a..d8095de 100644 --- a/tests/auto/CMakeLists.txt +++ b/tests/auto/CMakeLists.txt @@ -5,7 +5,9 @@ add_subdirectory(modelreplica) add_subdirectory(modelview) add_subdirectory(pods) add_subdirectory(proxy) -add_subdirectory(rep_from_header) +if(NOT CMAKE_CROSSCOMPILING) + add_subdirectory(rep_from_header) +endif() add_subdirectory(repc) add_subdirectory(repcodegenerator) add_subdirectory(repparser) |