Skip to content

Commit dc68e35

Browse files
committed
Fix issue causing failing tests to erroneously pass.
1 parent e2ef5c5 commit dc68e35

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

developer-scripts/travis/test-script.cmake.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ mkdir cmake-build || echo "Cannot mkdir cmake-build"
2525
for BUILD_TYPE in ${BUILD_TYPES}; do
2626
rm -rf cmake-build/* || true
2727
(
28-
cd cmake-build || echo 'cannot cd to cmake-build/'
29-
cmake -DCMAKE_INSTALL_PREFIX:PATH="${HOME}/OpenCoarrays" -DCMAKE_BUILD_TYPE="${BUILD_TYPE}" .. || echo "running cmake failed"
30-
make -j 4 || echo "running make failed"
28+
cd cmake-build
29+
cmake -DCMAKE_INSTALL_PREFIX:PATH="${HOME}/OpenCoarrays" -DCMAKE_BUILD_TYPE="${BUILD_TYPE}" ..
30+
make -j 4
3131
ctest --output-on-failure --schedule-random --repeat-until-fail "${NREPEAT:-5}" --timeout "${TEST_TIMEOUT:-200}"
3232
make install
3333
make uninstall

0 commit comments

Comments
 (0)