X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=test%2Fregression%2FMakefile;h=81a3b278d81f4a7a511150b05477719ad95befc6;hb=42bdf4fbb5ab30a761bcb70a40f078fc9f4a0e07;hp=5831c9eb755678ad20d6ac9b60e9c622b546f8a6;hpb=98525ac4901f29de25923032c550d1e7faf2066f;p=cql-java-moved-to-github.git diff --git a/test/regression/Makefile b/test/regression/Makefile index 5831c9e..81a3b27 100644 --- a/test/regression/Makefile +++ b/test/regression/Makefile @@ -1,23 +1,31 @@ -# $Id: Makefile,v 1.1 2002-11-03 16:53:04 mike Exp $ +# $Id: Makefile,v 1.9 2002-11-28 11:56:55 mike Exp $ -sections/01/01.xcql: sections - ./mkanswers CQLParser -# OR ./mkanswers ../../srw/cql/cqlparse3 -# OR ./mkanswers ../../rob/CQLParser.py +XMLCANONICALISER = cat +# Change this to "./xmlpp.pl" if you want to check for equivalence -sections: mktests queries.raw - rm -rf sections - ./mktests queries.raw +test: sections/01/01.cql sections/01/01.xcql + ./runtests ../../bin/CQLParser $(XMLCANONICALISER) + +test-adam: sections/01/01.cql sections/01/01.xcql + ./runtests ../../../srw/cql/cql2xcql $(XMLCANONICALISER) -adam-tests: sections/01/01.xcql - ./runtests ../../srw/cql/cqlparse3 +test-rob: sections/01/01.cql sections/01/01.xcql + ./runtests ../../../rob/CQLParser.py $(XMLCANONICALISER) + +sections/01/01.cql: mktests queries.raw + ./mktests queries.raw -rob-tests: sections/01/01.xcql - ./runtests ../../rob/CQLParser.py +sections/01/01.xcql: mkanswers + ./mkanswers ../../bin/CQLParser +# OR ./mkanswers ../../../srw/cql/cql2xcql +# OR ./mkanswers ../../../rob/CQLParser.py +# Depending on which parser you want to use as your reference clean: - find sections -name '*.xcql' -print | xargs rm -f + @echo "Nothing to do to 'make clean'" distclean: - rm -rf sections + find sections . -name '*.cql' -exec rm \{\} \; +refclean: + find sections . -name '*.xcql' -exec rm \{\} \;