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, 1 insertions, 4 deletions
diff --git a/tests/glcpp-test b/tests/glcpp-test
index 24110333a5..396f6e175e 100755
--- a/tests/glcpp-test
+++ b/tests/glcpp-test
@@ -2,9 +2,6 @@
for test in *.c; do
echo "Testing $test"
- ../glcpp < $test > $test.glcpp
- grep -v '^ *$' < $test.glcpp > $test.out || true
- gcc -E $test -o $test.gcc
- grep -v '^#' < $test.gcc | grep -v '^$' | sed -r -e 's/^ +/ /' > $test.expected || true
+ ../glcpp < $test > $test.out
diff -u $test.expected $test.out
done