Skip to content

Commit

Permalink
Makefile-tests.am: fail on first command
Browse files Browse the repository at this point in the history
The shell invocations from make don't have errexit on, so just chain
commands with && manually.

Closes: coreos#983
Approved by: cgwalters
  • Loading branch information
jlebon authored and rh-atomic-bot committed Sep 11, 2017
1 parent bae4fae commit bed10f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile-tests.am
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,12 @@ check-local:
HOSTS ?= "vmcheck"

vmsync:
@env $(BASE_TESTS_ENVIRONMENT) ./tests/vmcheck/install.sh; \
@env $(BASE_TESTS_ENVIRONMENT) ./tests/vmcheck/install.sh && \
env $(BASE_TESTS_ENVIRONMENT) ./tests/vmcheck/sync.sh

vmoverlay:
@if [ -z "$(SKIP_VMOVERLAY)" ]; then \
env $(BASE_TESTS_ENVIRONMENT) ./tests/vmcheck/install.sh; \
env $(BASE_TESTS_ENVIRONMENT) ./tests/vmcheck/install.sh && \
echo -n "$(HOSTS)" | xargs -P 0 -n 1 -d ' ' -I {} \
env $(BASE_TESTS_ENVIRONMENT) VM={} \
./tests/vmcheck/overlay.sh; \
Expand Down

0 comments on commit bed10f6

Please sign in to comment.