summaryrefslogtreecommitdiff
path: root/glcpp/tests/glcpp-test
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2010-06-21 11:22:11 -0700
committerKenneth Graunke <kenneth@whitecape.org>2010-06-21 11:22:11 -0700
commit6f510a49d2f3271432844d6b7e2bfe459b2126d4 (patch)
tree7ad316228b4353bbdf0070d61a754b84b29c1a30 /glcpp/tests/glcpp-test
parentf3eb42d200bb78afae64af6862e2b12396226707 (diff)
parent2fb30a2e492e466a7b383e8ca430ba7371b443ee (diff)
Merge Carl's preprocessor into the glcpp subdirectory.
Diffstat (limited to 'glcpp/tests/glcpp-test')
-rwxr-xr-xglcpp/tests/glcpp-test7
1 files changed, 7 insertions, 0 deletions
diff --git a/glcpp/tests/glcpp-test b/glcpp/tests/glcpp-test
new file mode 100755
index 0000000000..396f6e175e
--- /dev/null
+++ b/glcpp/tests/glcpp-test
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+for test in *.c; do
+ echo "Testing $test"
+ ../glcpp < $test > $test.out
+ diff -u $test.expected $test.out
+done