Fix some outdated Makefile rules.
[cql-java-moved-to-github.git] / test / regression / showtest
1 #!/bin/sh
2
3 # $Id: showtest,v 1.2 2002-11-03 17:02:48 mike Exp $
4
5 if [ $# != 1 ]; then
6         echo "Usage: $0 <test-name>" >&2
7         echo "  e.g. $0 01/02" >&2
8         exit 1
9 fi
10
11 ### Warning: nasty hard-coded choices
12 ( echo "=== Adam ==="
13   ../../srw/cql/cqlparse3 < sections/$1.cql ) > /tmp/adam
14 ( echo "=== Mike ==="
15   ../bin/CQLParser < sections/$1.cql ) > /tmp/mike
16 sdiff -w 80 /tmp/adam /tmp/mike