From 4e956520143c83f63ef24379aa085054ac15df95 Mon Sep 17 00:00:00 2001 From: Rodney Dawes Date: Mon, 27 Mar 2017 16:12:23 -0400 Subject: Disable integration tests when running under jenkins environment for now. --- tests/integration/CMakeLists.txt | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/integration/CMakeLists.txt b/tests/integration/CMakeLists.txt index e021d87..db086a8 100644 --- a/tests/integration/CMakeLists.txt +++ b/tests/integration/CMakeLists.txt @@ -74,10 +74,18 @@ target_link_libraries( gmenuharness-shared ) -add_test( +execute_process( + COMMAND whoami + OUTPUT_VARIABLE TESTS_USER + STRIP_TRAILING_WHITESPACE +) + +if(NOT "${TESTS_USER}" STREQUAL "jenkins") + add_test( integration-tests integration-tests -) + ) +endif() set( SET-VOLUME-SRC -- cgit v1.2.3