]> git.cworth.org Git - apitrace-tests/blob - traces/CMakeLists.txt
Improve checker.
[apitrace-tests] / traces / CMakeLists.txt
1 file (GLOB scripts RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.script)
2
3 list (SORT scripts)
4
5 foreach (script ${scripts})
6     if (APITRACE_EXECUTABLE AND APITRACE_SOURCE_DIR)
7         add_test(
8             NAME ${script}
9             COMMAND
10             python ${CMAKE_SOURCE_DIR}/tool_driver.py
11                 --apitrace ${APITRACE_EXECUTABLE}
12                 --apitrace-source ${APITRACE_SOURCE_DIR}
13                 ${CMAKE_CURRENT_SOURCE_DIR}/${script}
14         )
15     endif ()
16 endforeach (script)