-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
20 lines (14 loc) · 1.6 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
project(qemu_pm_tests)
cmake_minimum_required(VERSION 2.8)
enable_testing()
add_test(simple_pass ${CMAKE_CURRENT_SOURCE_DIR}/scripts/run_qemu.sh ${CMAKE_CURRENT_SOURCE_DIR}/build/tests/simple_pass ${CMAKE_CURRENT_SOURCE_DIR})
add_test(simple_fail ${CMAKE_CURRENT_SOURCE_DIR}/scripts/run_qemu.sh ${CMAKE_CURRENT_SOURCE_DIR}/build/tests/simple_fail ${CMAKE_CURRENT_SOURCE_DIR})
set_tests_properties(simple_fail PROPERTIES WILL_FAIL TRUE)
add_test(testcase_1a ${CMAKE_CURRENT_SOURCE_DIR}/scripts/run_qemu.sh ${CMAKE_CURRENT_SOURCE_DIR}/build/tests/testcase_1a ${CMAKE_CURRENT_SOURCE_DIR})
add_test(testcase_2a ${CMAKE_CURRENT_SOURCE_DIR}/scripts/run_qemu.sh ${CMAKE_CURRENT_SOURCE_DIR}/build/tests/testcase_2a ${CMAKE_CURRENT_SOURCE_DIR})
add_test(testcase_3a ${CMAKE_CURRENT_SOURCE_DIR}/scripts/run_qemu.sh ${CMAKE_CURRENT_SOURCE_DIR}/build/tests/testcase_3a ${CMAKE_CURRENT_SOURCE_DIR})
add_test(testcase_3b ${CMAKE_CURRENT_SOURCE_DIR}/scripts/run_qemu.sh ${CMAKE_CURRENT_SOURCE_DIR}/build/tests/testcase_3b ${CMAKE_CURRENT_SOURCE_DIR})
add_test(testcase_3c ${CMAKE_CURRENT_SOURCE_DIR}/scripts/run_qemu.sh ${CMAKE_CURRENT_SOURCE_DIR}/build/tests/testcase_3c ${CMAKE_CURRENT_SOURCE_DIR})
add_test(testcase_3d ${CMAKE_CURRENT_SOURCE_DIR}/scripts/run_qemu.sh ${CMAKE_CURRENT_SOURCE_DIR}/build/tests/testcase_3d ${CMAKE_CURRENT_SOURCE_DIR})
add_test(testcase_3e ${CMAKE_CURRENT_SOURCE_DIR}/scripts/run_qemu.sh ${CMAKE_CURRENT_SOURCE_DIR}/build/tests/testcase_3e ${CMAKE_CURRENT_SOURCE_DIR})
add_test(testcase_3f ${CMAKE_CURRENT_SOURCE_DIR}/scripts/run_qemu.sh ${CMAKE_CURRENT_SOURCE_DIR}/build/tests/testcase_3f ${CMAKE_CURRENT_SOURCE_DIR})