2017-12-29 19:43:29 +00:00
|
|
|
if (HB_BUILD_UTILS)
|
2018-01-11 12:13:23 +00:00
|
|
|
file (READ "${CMAKE_CURRENT_SOURCE_DIR}/data/in-house/Makefile.sources" INHOUSE)
|
2018-01-10 08:43:28 +00:00
|
|
|
extract_make_variable (TESTS ${INHOUSE})
|
|
|
|
foreach (test IN ITEMS ${TESTS})
|
|
|
|
add_test (NAME ${test}
|
2018-03-12 05:38:01 +00:00
|
|
|
COMMAND "${PYTHON_EXECUTABLE}" run-tests.py $<TARGET_FILE:hb-shape> "data/in-house/${test}"
|
2018-01-10 08:43:28 +00:00
|
|
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
|
2018-11-24 16:37:24 +00:00
|
|
|
set_property (TEST ${test} PROPERTY SKIP_RETURN_CODE 77)
|
|
|
|
endforeach ()
|
|
|
|
|
|
|
|
file (READ "${CMAKE_CURRENT_SOURCE_DIR}/data/aots/Makefile.sources" INHOUSE)
|
|
|
|
extract_make_variable (TESTS ${INHOUSE})
|
|
|
|
foreach (test IN ITEMS ${TESTS})
|
|
|
|
add_test (NAME ${test}
|
|
|
|
COMMAND "${PYTHON_EXECUTABLE}" run-tests.py $<TARGET_FILE:hb-shape> "data/aots/${test}"
|
|
|
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
|
|
|
|
set_property (TEST ${test} PROPERTY SKIP_RETURN_CODE 77)
|
2018-01-10 08:43:28 +00:00
|
|
|
endforeach ()
|
2018-01-01 07:47:51 +00:00
|
|
|
|
2018-01-11 12:13:23 +00:00
|
|
|
file (READ "${CMAKE_CURRENT_SOURCE_DIR}/data/text-rendering-tests/Makefile.sources" TEXTRENDERING)
|
2018-01-10 08:43:28 +00:00
|
|
|
extract_make_variable (TESTS ${TEXTRENDERING})
|
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}
|
2018-03-12 05:38:01 +00:00
|
|
|
COMMAND "${PYTHON_EXECUTABLE}" run-tests.py $<TARGET_FILE:hb-shape> "data/text-rendering-tests/${test}"
|
2018-01-01 07:47:51 +00:00
|
|
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
|
2018-11-24 16:37:24 +00:00
|
|
|
set_property (TEST ${test} PROPERTY SKIP_RETURN_CODE 77)
|
2017-12-29 19:43:29 +00:00
|
|
|
endforeach ()
|
|
|
|
endif ()
|