Added a validate rule
authorPhilippe Le Hégaret <plh@w3.org>
Fri, 05 Jun 2009 21:42:13 +0000
changeset 141 bfc52249cc91
parent 140 387c0cd38f82
child 142 d193ba595eed
Added a validate rule
testsuite/Makefile
--- a/testsuite/Makefile	Fri Jun 05 21:11:35 2009 +0000
+++ b/testsuite/Makefile	Fri Jun 05 21:42:13 2009 +0000
@@ -25,6 +25,15 @@
 	done
 	echo "</files>" >>filelist.xml
 
+validate:
+	rm -f validate-report.txt
+	for DIR in $(TEST_SUBDIRS) ; do \
+          for file in $$DIR/*[0-9][0-9][0-9].xml ; do \
+	    echo Checking $$file ... ; \
+	    java -jar ../spec/jing/jing.jar -c ../spec/rnc/ttaf1-dfxp.rnc $$file >>validate-report.txt ; \
+	  done \
+	done
+
 archive: filelist
 	rm -f dfxp-testsuite.zip
 	zip dfxp-testsuite.zip filelist.xml LICENSE