2017-12-29 19:43:29 +00:00
|
|
|
if (HB_BUILD_UTILS)
|
|
|
|
file (READ "${CMAKE_CURRENT_SOURCE_DIR}/Makefile.am" MAKEFILEAM)
|
|
|
|
extract_make_variable (TESTS ${MAKEFILEAM})
|
2018-01-01 07:47:51 +00:00
|
|
|
|
2017-12-29 19:43:29 +00:00
|
|
|
foreach (test IN ITEMS ${TESTS})
|
2018-01-01 07:47:51 +00:00
|
|
|
add_test (NAME ${test}
|
|
|
|
COMMAND python run-tests.py $<TARGET_FILE:hb-shape> "${test}"
|
|
|
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
|
2017-12-29 19:43:29 +00:00
|
|
|
endforeach ()
|
|
|
|
endif ()
|