blob: bf88d4462e192c21f5913fe01e67708500ab99e5 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/bin/sh
set -e
for test in *.c; do
echo "Testing $test"
../glcpp < $test > $test.out
gcc -E $test -o $test.gcc
grep -v '^#' < $test.gcc > $test.expected
diff -B -u $test.expected $test.out
done
|