diff options
author | Leif Johansson <leifj@sunet.se> | 2017-06-15 10:19:46 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2017-06-15 10:19:46 +0200 |
commit | f482ec076e0306978f8e3ee784050bc26fbe01ba (patch) | |
tree | ad3bc405b1acc7678b2c28d4ad00138a24a9e0fe /Makefile | |
parent | 05e99d078651208a4944fb1297fbe015c0ba60df (diff) | |
parent | 340ef5a189215f07afc8778295b4482b8ae46793 (diff) |
Merge branch 'master' of md-master.swamid.se:swamid-metadata
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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/[1;31m&[0m/;s/validates/[1;32m&[0m/'; 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/[1;31m&[0m/;s/validates/[1;32m&[0m/'; if [ $$rc -gt 0 ]; then fail=true ; fi; done ; if $$fail ; then exit 1 ; fi clean: @rm -f *.xml *.tbs *.n *.sig |