81a3b278d81f4a7a511150b05477719ad95befc6
[cql-java-moved-to-github.git] / test / regression / Makefile
1 # $Id: Makefile,v 1.9 2002-11-28 11:56:55 mike Exp $
2
3 XMLCANONICALISER = cat
4 # Change this to "./xmlpp.pl" if you want to check for equivalence
5
6 test: sections/01/01.cql sections/01/01.xcql
7         ./runtests ../../bin/CQLParser $(XMLCANONICALISER)
8
9 test-adam: sections/01/01.cql sections/01/01.xcql
10         ./runtests ../../../srw/cql/cql2xcql $(XMLCANONICALISER)
11
12 test-rob: sections/01/01.cql sections/01/01.xcql
13         ./runtests ../../../rob/CQLParser.py $(XMLCANONICALISER)
14
15 sections/01/01.cql: mktests queries.raw
16         ./mktests queries.raw
17
18 sections/01/01.xcql: mkanswers
19         ./mkanswers ../../bin/CQLParser
20 # OR    ./mkanswers ../../../srw/cql/cql2xcql
21 # OR    ./mkanswers ../../../rob/CQLParser.py
22 # Depending on which parser you want to use as your reference
23
24 clean:
25         @echo "Nothing to do to 'make clean'"
26
27 distclean:
28         find sections . -name '*.cql' -exec rm \{\} \;
29
30 refclean:
31         find sections . -name '*.xcql' -exec rm \{\} \;