aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRodney Dawes <rodney.dawes@canonical.com>2017-03-27 16:12:23 -0400
committerRodney Dawes <rodney.dawes@canonical.com>2017-03-27 16:12:23 -0400
commit4e956520143c83f63ef24379aa085054ac15df95 (patch)
treef9e042668b9dea7a168d456ae741545dbbfc3113 /tests
parent87cc0dc8da19468ee34050b015958c67c73321d9 (diff)
downloadayatana-indicator-sound-4e956520143c83f63ef24379aa085054ac15df95.tar.gz
ayatana-indicator-sound-4e956520143c83f63ef24379aa085054ac15df95.tar.bz2
ayatana-indicator-sound-4e956520143c83f63ef24379aa085054ac15df95.zip
Disable integration tests when running under jenkins environment for now.
Diffstat (limited to 'tests')
-rw-r--r--tests/integration/CMakeLists.txt12
1 files changed, 10 insertions, 2 deletions
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