Adds a cmake target for running ASM tests

This commit is contained in:
Ryan Houdek 2020-05-08 19:28:59 -07:00
parent b70176c99a
commit 9664e24961

View File

@ -70,3 +70,12 @@ endforeach()
add_custom_target(asm_files ALL
DEPENDS "${ASM_DEPENDS}")
execute_process(COMMAND "nproc" OUTPUT_VARIABLE CORES)
string(STRIP ${CORES} CORES)
add_custom_target(
asm_tests
WORKING_DIRECTORY "${CMAKE_BINARY_DIR}"
USES_TERMINAL
COMMAND "ctest" "-j${CORES}" "-R" "\.*.asm")