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
This commit is contained in:
DavidMarec 2018-05-10 14:40:29 -07:00 committed by Prajapati, Dimpalben R
parent a5015343bc
commit f5ded73956
2 changed files with 8 additions and 1 deletions

View File

@ -1,2 +1,7 @@
cmake_minimum_required (VERSION 3.1 FATAL_ERROR)
if (NOT DEFINED RUN_TEST_SUITE)
option (RUN_TEST_SUITE "run test suite after install" ON)
endif (NOT DEFINED RUN_TEST_SUITE)
add_subdirectory(Source/GmmLib)

View File

@ -544,4 +544,6 @@ if(ARCH EQUAL 32)
endif()
endif()
add_subdirectory(ULT)
if(NOT DEFINED RUN_TEST_SUITE OR RUN_TEST_SUITE)
add_subdirectory(ULT)
endif()