Created
October 9, 2016 00:08
-
-
Save QuLogic/b9de354f189ded6d65405ba241fc6c7a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- libmseed.orig/test/Makefile 2016-10-08 01:42:04.339418308 -0400 | |
| +++ libmseed/test/Makefile 2016-10-08 01:48:56.889028948 -0400 | |
| @@ -41,13 +41,10 @@ $(BINS) : % : %.c | |
| # Run test scripts, create %.test.out files and compare to %.test.ref references | |
| $(TESTOUTS) : %.test.out : %.test $(BINS) FORCE | |
| @$(eval TESTCOUNT=$(shell echo $$(($(TESTCOUNT)+1)))) | |
| - @$(shell ./$< > $@ 2>&1) | |
| - @diff $<.ref $@ >/dev/null; \ | |
| - if [ $$? -eq 0 ]; \ | |
| - then printf '$(PASSED) Test $<\n'; \ | |
| - else printf '$(FAILED) Test $<, Compare $<.ref $@\n'; \ | |
| - exit 0; \ | |
| - fi | |
| + @echo -n $< | |
| + @./$< > $@ 2>&1 | |
| + @diff $<.ref $@ | |
| + @printf ' $(PASSED)\n' | |
| clean: | |
| @rm -f $(BINS) $(TESTOUTS) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment