projects
/
cql-java-moved-to-github.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
First more or less functional version of the test suite
[cql-java-moved-to-github.git]
/
test
/
showtest
1
#!/bin/sh
2
3
if [ $# != 1 ]; then
4
echo "Usage: $0 <test-name>" >&2
5
echo " e.g. $0 01/02" >&2
6
exit 1
7
fi
8
9
### Warning: nasty hard-coded choices
10
( echo "=== Adam ==="
11
../../srw/cql/cqlparse3 < sections/$1.cql ) > /tmp/adam
12
( echo "=== Mike ==="
13
../bin/CQLParser < sections/$1.cql ) > /tmp/mike
14
sdiff -w 80 /tmp/adam /tmp/mike