diff options
author | Philip Balister <philip@balister.org> | 2022-01-22 13:49:13 -0500 |
---|---|---|
committer | Jeff Long <willcode4@gmail.com> | 2022-04-05 12:11:41 -0400 |
commit | df48f425c1844988319409f71d3ef99ce2e726c6 (patch) | |
tree | b03ad97f3b4901deea2151212842637a37eaabec | |
parent | Release Candidate v3.9.6.0-rc1 (diff) | |
download | gnuradio-df48f425c1844988319409f71d3ef99ce2e726c6.tar.xz gnuradio-df48f425c1844988319409f71d3ef99ce2e726c6.zip |
Cross compiling is skipping c++ tests, don't try to set properties on them.
Signed-off-by: Philip Balister <philip@balister.org>
(cherry picked from commit afaddfe9d109204fa65485a7d59fe9a8c3399300)
Signed-off-by: Jeff Long <willcode4@gmail.com>
-rw-r--r-- | gr-blocks/lib/CMakeLists.txt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gr-blocks/lib/CMakeLists.txt b/gr-blocks/lib/CMakeLists.txt index 8e3ea50c3..647e28432 100644 --- a/gr-blocks/lib/CMakeLists.txt +++ b/gr-blocks/lib/CMakeLists.txt @@ -264,9 +264,11 @@ if(ENABLE_TESTING) GR_ADD_CPP_TEST("blocks_${qa_file}" ${CMAKE_CURRENT_SOURCE_DIR}/${qa_file} ) - set_tests_properties("blocks_${qa_file}" - PROPERTIES TIMEOUT 30 - ) + IF (NOT CMAKE_CROSSCOMPILING) + set_tests_properties("blocks_${qa_file}" + PROPERTIES TIMEOUT 30 + ) + ENDIF (NOT CMAKE_CROSSCOMPILING) endforeach(qa_file) endif(ENABLE_TESTING) |