summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFredrik Domeij <fredrik.domeij@umu.se>2017-06-14 11:26:28 +0200
committerFredrik Domeij <fredrik.domeij@umu.se>2017-06-14 11:26:28 +0200
commite4112dc8e4811c4cc758c9a314a027edc7a655f1 (patch)
treee8957e2c74ff70521cbbbf9a5c3748f436145e39 /Makefile
parenta598538e7b19a3d7e65da17fb1fbd49e04e2e60c (diff)
schematest all mxml files before complaining
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d7b83e79..cbe37e44 100644
--- a/Makefile
+++ b/Makefile
@@ -95,7 +95,7 @@ test: clean dependencies schematest
pedantic: clean dependencies schematest testRefedsRnS testGeantCoCo
schematest:
- @for x in $(MXML); do test=`xmllint --xinclude --nowarning --noout --path schema --schema schema.xsd $$x 2>&1`; rc=$$?; echo $$test | sed 's/fails to validate/&/;s/validates/&/'; if [ $$rc -gt 0 ]; then exit 1; fi; done
+ @fail=false ; for x in $(MXML); do test=`xmllint --xinclude --nowarning --noout --path schema --schema schema.xsd $$x 2>&1`; rc=$$?; echo $$test | sed 's/fails to validate/&/;s/validates/&/'; if [ $$rc -gt 0 ]; then fail=true ; fi; done ; if $$fail ; then exit 1 ; fi
clean:
@rm -f *.xml *.tbs *.n *.sig