Ubuntu Pastebin

Paste from ted at Wed, 6 Apr 2016 17:28:47 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
=== modified file 'tests/CMakeLists.txt'
--- tests/CMakeLists.txt	2015-11-04 14:57:45 +0000
+++ tests/CMakeLists.txt	2016-04-06 17:27:29 +0000
@@ -35,6 +35,8 @@
 list(REMOVE_DUPLICATES UNITY_IMPORT_PATHS)
 set(UNITY_IMPORT_PATHS ${UNITY_IMPORT_PATHS} CACHE INTERNAL "")
 
+execute_process(COMMAND whoami OUTPUT_VARIABLE UNITY_USERNAME)
+
 macro(unity8_parse_arguments)
     cmake_parse_arguments(U8TEST
         "${QMLTEST_OPTIONS};LIGHTDM"
@@ -79,6 +81,7 @@
         ${U8TEST_ARGN}
         ENVIRONMENT ${environment}
                     QT_QPA_PLATFORM=minimal
+                    USER=${UNITY_USERNAME}
                     ${U8TEST_ENVIRONMENT}
     )
 endfunction()
Download as text