summaryrefslogtreecommitdiff
path: root/glcpp/tests/glcpp-test
diff options
context:
space:
mode:
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