aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodney Dawes <rodney.dawes@canonical.com>2017-03-28 10:52:39 -0400
committerRodney Dawes <rodney.dawes@canonical.com>2017-03-28 10:52:39 -0400
commit6bfcb0757a60cd9fb75d689c632c1279bbf32d75 (patch)
treec637d5bdf6c85bbcd8ccc00eadbfc681fd47ef6f
parent305f1ab1bee845c46fc50990602130c3fb565acb (diff)
downloadayatana-indicator-sound-6bfcb0757a60cd9fb75d689c632c1279bbf32d75.tar.gz
ayatana-indicator-sound-6bfcb0757a60cd9fb75d689c632c1279bbf32d75.tar.bz2
ayatana-indicator-sound-6bfcb0757a60cd9fb75d689c632c1279bbf32d75.zip
Add comment explaining pulseaudio startup issue.
-rw-r--r--tests/integration/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/integration/CMakeLists.txt b/tests/integration/CMakeLists.txt
index 0595584..0f4a53c 100644
--- a/tests/integration/CMakeLists.txt
+++ b/tests/integration/CMakeLists.txt
@@ -74,6 +74,13 @@ target_link_libraries(
gmenuharness-shared
)
+####
+## When building under jenkins, pulseuadio fails to start as there is no
+## /run/user tree, HOME directory is missing, and similar issues. So here
+## we check that we are the jenkins user, and avoid the integration tests,
+## until such time in future when we can run these tests in some different
+## manner to avoid needing to run pulseaudio in this way.
+####
execute_process(
COMMAND whoami
OUTPUT_VARIABLE TESTS_USER