~nick-dedekind/unity8/indicators.hint-interval

« back to all changes in this revision

Viewing changes to cmake/modules/autopilot.cmake

  • Committer: Nick Dedekind
  • Date: 2014-03-07 15:54:57 UTC
  • mfrom: (638.1.118 unity8)
  • Revision ID: nicholas.dedekind@gmail.com-20140307155457-f0s1zu5ll2czt3rq
merged with 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 autopilot run ${TEST_SUITE}
 
5
        COMMAND LANG=C UBUNTU_ICON_THEME=ubuntu-mobile 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
    )
12
12
    )
13
13
 
14
14
    add_dependencies(autopilot autopilot-${TEST_NAME})
 
15
 
 
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}
 
18
        WORKING_DIRECTORY ${WORKING_DIR}
 
19
        DEPENDS fake_install
 
20
    )
 
21
 
 
22
    add_dependencies(autopilot autopilot2-${TEST_NAME})
 
23
 
15
24
endfunction()