summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/glcpp-test5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/glcpp-test b/tests/glcpp-test
index 8074e47119..6304155210 100755
--- a/tests/glcpp-test
+++ b/tests/glcpp-test
@@ -1,13 +1,10 @@
#!/bin/sh
set -e
-echo "Caution: These results are just verifying parse-ability, not correctness!"
-
for test in *.c; do
echo "Testing $test"
../glcpp < $test > $test.out
gcc -E $test -o $test.gcc
-# grep -v '^#' < $test.gcc > $test.expected
- grep -v '^[ ]*#' < $test > $test.expected
+ grep -v '^#' < $test.gcc > $test.expected
diff -u $test.expected $test.out
done