~phablet-team/mediaplayer-app/trunk

« back to all changes in this revision

Viewing changes to cmake/autopilot.cmake

Created target "autopilot"

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
add_custom_target(autopilot)
 
2
 
 
3
function(declare_autopilot_test ENVIROMENT TEST_NAME WORKING_DIR)
 
4
 
 
5
    add_custom_command(TARGET autopilot
 
6
        COMMAND ${ENVIROMENT} autopilot run ${TEST_NAME}
 
7
        WORKING_DIRECTORY ${WORKING_DIR}) 
 
8
endfunction()