3 # Change this to "./xmlpp.pl" if you want to check for equivalence
5 test: sections/01/01.cql sections/01/01.xcql
6 ./runtests ../../bin/CQLParser $(XMLCANONICALISER)
8 test-adam: sections/01/01.cql sections/01/01.xcql
9 ./runtests ../../../srw/cql/cql2xcql $(XMLCANONICALISER)
11 test-rob: sections/01/01.cql sections/01/01.xcql
12 ./runtests ../../../rob/CQLParser.py $(XMLCANONICALISER)
14 sections/01/01.cql: mktests queries.raw
17 sections/01/01.xcql: mkanswers
18 ./mkanswers ../../bin/CQLParser
19 # OR ./mkanswers ../../../srw/cql/cql2xcql
20 # OR ./mkanswers ../../../rob/CQLParser.py
21 # Depending on which parser you want to use as your reference
24 @echo "Nothing to do to 'make clean'"
27 find sections . -name '*.cql' -exec rm \{\} \;
30 find sections . -name '*.xcql' -exec rm \{\} \;