2017-12-29 20:43:29 +01:00
|
|
|
if (HB_BUILD_UTILS)
|
2018-01-10 09:43:28 +01:00
|
|
|
file (READ "${CMAKE_CURRENT_SOURCE_DIR}/data/in-house/Makefile.am" INHOUSE)
|
|
|
|
extract_make_variable (TESTS ${INHOUSE})
|
|
|
|
foreach (test IN ITEMS ${TESTS})
|
|
|
|
add_test (NAME ${test}
|
|
|
|
COMMAND python run-tests.py $<TARGET_FILE:hb-shape> "data/in-house/${test}"
|
|
|
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
|
|
|
|
endforeach ()
|
2018-01-01 08:47:51 +01:00
|
|
|
|
2018-01-10 09:43:28 +01:00
|
|
|
file (READ "${CMAKE_CURRENT_SOURCE_DIR}/data/text-rendering-tests/Makefile.am" TEXTRENDERING)
|
|
|
|
extract_make_variable (TESTS ${TEXTRENDERING})
|
2017-12-29 20:43:29 +01:00
|
|
|
foreach (test IN ITEMS ${TESTS})
|
2018-01-01 08:47:51 +01:00
|
|
|
add_test (NAME ${test}
|
2018-01-10 09:43:28 +01:00
|
|
|
COMMAND python run-tests.py $<TARGET_FILE:hb-shape> "data/text-rendering-tests/${test}"
|
2018-01-01 08:47:51 +01:00
|
|
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
|
2017-12-29 20:43:29 +01:00
|
|
|
endforeach ()
|
|
|
|
endif ()
|