on bbacdf7 help sign in
unity8/cmake/modules/autopilot.cmake
11 lines 409 B history raw
1add_custom_target(autopilot)
3function(declare_autopilot_test TEST_NAME TEST_SUITE WORKING_DIR)
4 add_custom_target(autopilot-${TEST_NAME}
5 COMMAND LANG=C UBUNTU_ICON_THEME=ubuntu-mobile QML2_IMPORT_PATH=${SHELL_INSTALL_QML}/mocks autopilot run ${TEST_SUITE}
6 WORKING_DIRECTORY ${WORKING_DIR}
7 DEPENDS install
8 )
10 add_dependencies(autopilot autopilot-${TEST_NAME})
11endfunction()