summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFredrik Åslund <fredrik@fredrix.ladok.umu.se>2013-04-09 13:57:45 +0200
committerFredrik Åslund <fredrik@fredrix.ladok.umu.se>2013-04-09 13:57:45 +0200
commitc05db9c14b0ab9124d869f2bf2bf9f22ce918be8 (patch)
tree4b7b98c13436b6d58602414bdbc23d6a2b99e950
parent6c176efe6eee9c698eabcba709457b8bfd50b96c (diff)
ansi colorize make test
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 27b75c23..991ee5d0 100644
--- a/Makefile
+++ b/Makefile
@@ -132,7 +132,8 @@ swamid-ki-sll:
@test -s swamid-ki-sll-1.0.xml && cp swamid-ki-sll-1.0.xml $(DEST)
test: swamid2-deps
- @for x in $(MXML); do xmllint --xinclude --nowarning --noout --path schema --schema schema.xsd $$x; done
+ @for x in $(MXML); do xmllint --xinclude --nowarning --noout --path schema --schema schema.xsd $$x 2>&1 ; done | sed 's/fails to validate/&/;s/validates/&/'
clean:
@rm -f *.xml *.tbs *.n
+