OSDN Git Service

test suite: Add expected output for every test.
[android-x86/external-mesa.git] / tests / glcpp-test
index 2411033..396f6e1 100755 (executable)
@@ -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