mirror of
https://github.com/urbit/shrub.git
synced 2024-11-30 22:15:47 +03:00
vere: fixes Makefile test-runner, exiting on failed test
This commit is contained in:
parent
de9bd593d9
commit
bb83acce96
@ -33,7 +33,12 @@ CFLAGS := $(CFLAGS)
|
||||
all: $(all_exes)
|
||||
|
||||
test: $(test_exes)
|
||||
for x in $^; do echo "\n$$x" && ./$$x; done
|
||||
@FAIL=0; \
|
||||
for x in $^; \
|
||||
do echo "\n$$x" && ./$$x; \
|
||||
if [ $$? != 0 ]; then FAIL=1; fi; \
|
||||
done; \
|
||||
if [ $$FAIL != 0 ]; then echo "\n" && exit 1; fi;
|
||||
|
||||
clean:
|
||||
rm -f ./tags $(all_objs) $(all_exes)
|
||||
|
Loading…
Reference in New Issue
Block a user