... |
... |
@@ -75,7 +75,7 @@ source_dist: |
75
|
75
|
|
76
|
76
|
# Run the tests from the source distribution, We run as a simple
|
77
|
77
|
# user to test for permission issues
|
78
|
|
- - su buildstream -c 'python3 setup.py test --index-url invalid://uri --addopts "--integration -s"'
|
|
78
|
+ - su buildstream -c 'python3 setup.py test --index-url invalid://uri --addopts --integration'
|
79
|
79
|
|
80
|
80
|
after_script:
|
81
|
81
|
# Go back to the toplevel and collect our reports
|
... |
... |
@@ -88,6 +88,25 @@ source_dist: |
88
|
88
|
paths:
|
89
|
89
|
- ${COVERAGE_ARTIFACT_PATH}
|
90
|
90
|
|
|
91
|
+.linux-tests-template-root: &linux-tests-as-root
|
|
92
|
+ <<: *linux-tests
|
|
93
|
+
|
|
94
|
+ script:
|
|
95
|
+ # Diagnostics
|
|
96
|
+ - mount
|
|
97
|
+ - df -h
|
|
98
|
+
|
|
99
|
+ - export INTEGRATION_CACHE="$(pwd)/cache/integration-cache"
|
|
100
|
+
|
|
101
|
+ # Unpack and get into dist/buildstream
|
|
102
|
+ - cd dist && ./unpack.sh
|
|
103
|
+ - cd buildstream
|
|
104
|
+
|
|
105
|
+ # Run the tests from the source distribution, We run as a simple
|
|
106
|
+ # user to test for permission issues
|
|
107
|
+ - python3 setup.py test --index-url invalid://uri --addopts "--integration"
|
|
108
|
+
|
|
109
|
+
|
91
|
110
|
tests-debian-9:
|
92
|
111
|
image: buildstream/testsuite-debian:9-master-119-552f5fc6
|
93
|
112
|
<<: *linux-tests
|
... |
... |
@@ -108,7 +127,7 @@ tests-unix: |
108
|
127
|
# Use fedora here, to a) run a test on fedora and b) ensure that we
|
109
|
128
|
# can get rid of ostree - this is not possible with debian-8
|
110
|
129
|
image: buildstream/testsuite-fedora:27-master-119-552f5fc6
|
111
|
|
- <<: *linux-tests
|
|
130
|
+ <<: *linux-tests-as-root
|
112
|
131
|
|
113
|
132
|
variables:
|
114
|
133
|
BST_FORCE_BACKEND: "unix"
|