summaryrefslogtreecommitdiff
path: root/tests
diff options
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2015-12-11 12:45:49 +0000
committerCI Train Bot <ci-train-bot@canonical.com>2015-12-11 12:45:49 +0000
commite303ab33195af6c3b06f06236863fbe5137bc212 (patch)
tree9db924ee3892a2d0ae9ccc7c43b35c9023063d1a /tests
parent2ac05c7b86d587f3ff30d2c9af564649bbd329c2 (diff)
parent47994390b6416255629850219cecc7e38d59c865 (diff)
unity: ensure we use python3 for the launch script and python2.7 for autopilot Fixes: #1512909
Approved by: PS Jenkins bot Original authors: - Marco Trevisan (Treviño) <mail@3v1n0.net> - Barry Warsaw <barry@ubuntu.com> (bzr r4049)
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 82b132830..9bcf0a582 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -387,5 +387,5 @@ endif (GTEST_ROOT_DIR)
# make target to allow devs to run "make autopilot" from build dir:
set (AUTOPILOTDIR "${CMAKE_CURRENT_SOURCE_DIR}/autopilot")
# Rules to install autopilot files and executable script:
-install(CODE "execute_process(COMMAND python setup.py install --prefix ${CMAKE_INSTALL_PREFIX} WORKING_DIRECTORY ${AUTOPILOTDIR})")
+install(CODE "execute_process(COMMAND python2.7 setup.py install --prefix ${CMAKE_INSTALL_PREFIX} WORKING_DIRECTORY ${AUTOPILOTDIR})")
add_custom_target (autopilot COMMAND cd ${AUTOPILOTDIR} && make check)