Merge pull request #1691 from relapids/arm_specific_tests
Disable ARM-specific tests when ARM is unavailable. (#1689)
This commit is contained in:
@@ -1412,6 +1412,9 @@ if(UNICORN_BUILD_TESTS)
|
||||
add_executable(${TEST_FILE}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/tests/unit/${TEST_FILE}.c
|
||||
)
|
||||
target_compile_options(${TEST_FILE} PRIVATE
|
||||
${UNICORN_COMPILE_OPTIONS}
|
||||
)
|
||||
target_link_libraries(${TEST_FILE} PRIVATE
|
||||
${SAMPLES_LIB}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user