mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-23 11:50:42 +01:00
13 lines
347 B
Bash
Executable file
13 lines
347 B
Bash
Executable file
#!/bin/sh
|
|
set -e
|
|
|
|
echo "Caution: These results are just verifying parse-ability, not correctness!"
|
|
|
|
for test in *.c; do
|
|
echo "Testing $test"
|
|
../glcpp < $test > $test.out
|
|
gcc -E $test -o $test.gcc
|
|
# grep -v '^#' < $test.gcc > $test.expected
|
|
grep -v '^[ ]*#' < $test > $test.expected
|
|
diff -w -u $test.expected $test.out
|
|
done
|