You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
if (HB_BUILD_UTILS)
|
|
|
|
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 ()
|
|
|
|
|
|
|
|
file (READ "${CMAKE_CURRENT_SOURCE_DIR}/data/text-rendering-tests/Makefile.am" TEXTRENDERING)
|
|
|
|
extract_make_variable (TESTS ${TEXTRENDERING})
|
|
|
|
foreach (test IN ITEMS ${TESTS})
|
|
|
|
add_test (NAME ${test}
|
|
|
|
COMMAND python run-tests.py $<TARGET_FILE:hb-shape> "data/text-rendering-tests/${test}"
|
|
|
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
|
|
|
|
endforeach ()
|
|
|
|
endif ()
|