~mzanetti/unity8/fade-out-launcher

« back to all changes in this revision

Viewing changes to cmake/modules/autopilot.cmake

  • Committer: Michael Zanetti
  • Date: 2014-07-08 10:15:46 UTC
  • mfrom: (977.1.35 unity8)
  • Revision ID: michael.zanetti@canonical.com-20140708101546-01dbieenbk9123il
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
function(declare_autopilot_test TEST_NAME TEST_SUITE WORKING_DIR)
4
4
    add_custom_target(autopilot-${TEST_NAME}
5
 
        COMMAND LANG=C UBUNTU_ICON_THEME=ubuntu-mobile QML2_IMPORT_PATH=${SHELL_INSTALL_QML}/mocks python3 -m autopilot.run run ${TEST_SUITE}
 
5
        COMMAND LANG=C QML2_IMPORT_PATH=${SHELL_INSTALL_QML}/mocks python3 -m autopilot.run run ${TEST_SUITE}
6
6
        WORKING_DIRECTORY ${WORKING_DIR}
7
7
        DEPENDS fake_install
8
8
    )
14
14
    add_dependencies(autopilot autopilot-${TEST_NAME})
15
15
 
16
16
    add_custom_target(autopilot2-${TEST_NAME}
17
 
        COMMAND LANG=C UBUNTU_ICON_THEME=ubuntu-mobile QML2_IMPORT_PATH=${SHELL_INSTALL_QML}/mocks python2 -m autopilot.run run ${TEST_SUITE}
 
17
        COMMAND LANG=C QML2_IMPORT_PATH=${SHELL_INSTALL_QML}/mocks python2 -m autopilot.run run ${TEST_SUITE}
18
18
        WORKING_DIRECTORY ${WORKING_DIR}
19
19
        DEPENDS fake_install
20
20
    )