2018-02-03 01:50:45 +00:00
|
|
|
if (HB_BUILD_UTILS)
|
|
|
|
file (READ "${CMAKE_CURRENT_SOURCE_DIR}/data/Makefile.sources" SOURCES)
|
|
|
|
extract_make_variable (TESTS ${SOURCES})
|
|
|
|
foreach (test IN ITEMS ${TESTS})
|
2018-02-11 12:10:55 +00:00
|
|
|
add_test (NAME ${test}
|
2018-03-12 05:38:01 +00:00
|
|
|
COMMAND "${PYTHON_EXECUTABLE}" run-tests.py $<TARGET_FILE:hb-subset> "data/${test}"
|
2018-02-11 12:10:55 +00:00
|
|
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
|
|
|
|
set_property(TEST ${test} PROPERTY SKIP_RETURN_CODE 77)
|
2018-02-03 01:50:45 +00:00
|
|
|
endforeach ()
|
|
|
|
endif ()
|