[PATCH v2 3/3] travis: Correct infrastructure for tests on mobile
Anton Lundin
glance at acc.umu.se
Tue Feb 7 02:57:04 PST 2017
In the previous code, there was a mistake in how cwd in travis works.
This solves that by just using make -C instead.
The only issue is that the tests currently fail.
Signed-off-by: Anton Lundin <glance at acc.umu.se>
---
.travis.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index e6fc925..8106b8e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -47,5 +47,5 @@ script:
- export CMAKE_PREFIX_PATH=$PWD/Qt/5.8/gcc_64/lib/cmake ;
cd .. ;
bash -e ./subsurface/scripts/build.sh -both
- - cd subsurface/build ; env CTEST_OUTPUT_ON_FAILURE=1 make check
-# - cd subsurface/build-mobile ; env CTEST_OUTPUT_ON_FAILURE=1 make check
+ - env CTEST_OUTPUT_ON_FAILURE=1 make -C subsurface/build check
+# - env CTEST_OUTPUT_ON_FAILURE=1 make -C subsurface/build-mobile check
--
2.9.3
More information about the subsurface
mailing list