summaryrefslogtreecommitdiff
path: root/tests
diff options
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2017-09-18 23:01:20 +0200
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2017-09-18 23:01:20 +0200
commitaa56b0e4f4a9f408d674965e82c479689948f67e (patch)
tree1271726b759c4ec764c91b91b3e9c8cf4f85f6ca /tests
parentf7754cabad25033287dd2e727ece3a1c2ebdef16 (diff)
CMakeLists: code cleanup
(bzr r4253.1.6)
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index c3a28c961..aae1e8c96 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -146,7 +146,7 @@ function (add_gtest basename namespace libs #[[extra_sources]])
set (run_target run-${test_binary}-headless)
list (FIND ${VAR_PREFIX}_TARGETS ${run_target} _target_index)
if (${_target_index} EQUAL -1)
- set (test_result ${CMAKE_CURRENT_BINARY_DIR}/${test_binary}-headless.xml)
+ set (test_result ${CMAKE_CURRENT_BINARY_DIR}/${test_binary}-headless.xml)
add_custom_target (${run_target}
COMMAND env NUX_FALLBACK_TEXTURE=TRUE
${DUMMY_XORG_TEST_RUNNER}
@@ -568,4 +568,3 @@ set (AUTOPILOTDIR "${CMAKE_CURRENT_SOURCE_DIR}/autopilot")
# Rules to install autopilot files and executable script:
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)
-