Chandan Singh pushed to branch chandan/reqs-update-test at BuildStream / buildstream
Commits:
-
605836c1
by Chandan Singh at 2019-01-15T00:57:05Z
1 changed file:
Changes:
... | ... | @@ -96,7 +96,6 @@ tests-unix: |
96 | 96 |
# Since the unix platform is required to run as root, no user change required
|
97 | 97 |
- ${TEST_COMMAND}
|
98 | 98 |
|
99 |
- |
|
100 | 99 |
tests-fedora-missing-deps:
|
101 | 100 |
# Ensure that tests behave nicely while missing bwrap and ostree
|
102 | 101 |
image: buildstream/testsuite-fedora:28-5da27168-32c47d1c
|
... | ... | @@ -114,6 +113,22 @@ tests-fedora-missing-deps: |
114 | 113 |
|
115 | 114 |
- ${TEST_COMMAND}
|
116 | 115 |
|
116 |
+tests-fedora-update-deps:
|
|
117 |
+ # Check if the tests pass after updating requirements to their latest
|
|
118 |
+ # allowed version.
|
|
119 |
+ allow_failure: true
|
|
120 |
+ image: buildstream/testsuite-fedora:28-5da27168-32c47d1c
|
|
121 |
+ <<: *tests
|
|
122 |
+ |
|
123 |
+ script:
|
|
124 |
+ - useradd -Um buildstream
|
|
125 |
+ - chown -R buildstream:buildstream .
|
|
126 |
+ |
|
127 |
+ - make --always-make --directory requirements
|
|
128 |
+ - cat requirements/*.txt
|
|
129 |
+ |
|
130 |
+ - su buildstream -c "${TEST_COMMAND}"
|
|
131 |
+ |
|
117 | 132 |
# Lint separately from testing
|
118 | 133 |
lint:
|
119 | 134 |
stage: test
|