summaryrefslogtreecommitdiff
path: root/tests/glcpp-test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/glcpp-test')
-rwxr-xr-xtests/glcpp-test5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/glcpp-test b/tests/glcpp-test
index 868b03cce8..34cca88330 100755
--- a/tests/glcpp-test
+++ b/tests/glcpp-test
@@ -7,6 +7,7 @@ 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
+# grep -v '^#' < $test.gcc > $test.expected
+ grep -v '^[ ]*#' < $test > $test.expected
+ diff -w -u $test.expected $test.out
done