Home | History | Annotate | Download | only in subset
      1 if (HB_BUILD_UTILS)
      2   file (READ "${CMAKE_CURRENT_SOURCE_DIR}/data/Makefile.sources" SOURCES)
      3   extract_make_variable (TESTS ${SOURCES})
      4   foreach (test IN ITEMS ${TESTS})
      5     add_test (NAME ${test}
      6       COMMAND "${PYTHON_EXECUTABLE}" run-tests.py $<TARGET_FILE:hb-subset> "data/${test}"
      7       WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
      8     set_property(TEST ${test} PROPERTY SKIP_RETURN_CODE 77)
      9   endforeach ()
     10 endif ()
     11