-# $Id: Makefile,v 1.7 2002-11-21 09:57:28 mike Exp $
+# $Id: Makefile,v 1.8 2002-11-26 15:51:48 mike Exp $
XMLCANONICALISER = cat
# Change this to "./xmlpp.pl" if you want to check for equivalence
./runtests ../../bin/CQLParser $(XMLCANONICALISER)
test-adam: sections/01/01.cql sections/01/01.xcql
- ./runtests ../../../srw/cql/cqlparse3 $(XMLCANONICALISER)
+ ./runtests ../../../srw/cql/cqlshell $(XMLCANONICALISER)
test-rob: sections/01/01.cql sections/01/01.xcql
./runtests ../../../rob/CQLParser.py $(XMLCANONICALISER)
sections/01/01.xcql: mkanswers
./mkanswers ../../bin/CQLParser
-# OR ./mkanswers ../../../srw/cql/cqlparse3
+# OR ./mkanswers ../../../srw/cql/cqlshell
# OR ./mkanswers ../../../rob/CQLParser.py
# Depending on which parser you want to use as your reference
#!/bin/sh
-# $Id: showtest,v 1.4 2002-11-20 01:15:15 mike Exp $
+# $Id: showtest,v 1.5 2002-11-26 15:51:48 mike Exp $
if [ $# != 1 ]; then
echo "Usage: $0 <test-name>" >&2
### Warning: nasty hard-coded choices
( echo "=== Adam ==="
- ../../../srw/cql/cqlparse3 < sections/$1.cql ) > /tmp/adam
+ ../../../srw/cql/cqlshell < sections/$1.cql ) > /tmp/adam
( echo "=== Mike ==="
../../bin/CQLParser < sections/$1.cql ) > /tmp/mike
sdiff -w 80 /tmp/adam /tmp/mike