Skip to content

Commit f5ded73

Browse files
DavidMarecdrprajap
DavidMarec
authored andcommittedMay 10, 2018
Add option to discard ULT test suite execution
Setup a new option to avoid ULT test suite run after install in order to allow cross compilation. Append -DRUN_TEST_SUITE=OFF to the CMake command line. Change-Id: I4974ef0a5a2c40613cde7744f66531448f9b0277
1 parent a501534 commit f5ded73

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed
 

‎CMakeLists.txt

+5
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
11
cmake_minimum_required (VERSION 3.1 FATAL_ERROR)
2+
3+
if (NOT DEFINED RUN_TEST_SUITE)
4+
option (RUN_TEST_SUITE "run test suite after install" ON)
5+
endif (NOT DEFINED RUN_TEST_SUITE)
6+
27
add_subdirectory(Source/GmmLib)

‎Source/GmmLib/CMakeLists.txt

+3-1
Original file line numberDiff line numberDiff line change
@@ -544,4 +544,6 @@ if(ARCH EQUAL 32)
544544
endif()
545545
endif()
546546

547-
add_subdirectory(ULT)
547+
if(NOT DEFINED RUN_TEST_SUITE OR RUN_TEST_SUITE)
548+
add_subdirectory(ULT)
549+
endif()

0 commit comments

Comments
 (0)