Merge pull request #1691 from relapids/arm_specific_tests

Disable ARM-specific tests when ARM is unavailable. (#1689)
This commit is contained in:
2022-08-31 22:08:12 +08:00
committed by GitHub
2 changed files with 12 additions and 1 deletions

View File

@@ -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}
)