mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 21:40:08 +01:00
With this change, tests 41 through 49 all pass. (The defined operator appears to be somehow broken so that test 50 doesn't pass yet.)
10 lines
217 B
Bash
Executable file
10 lines
217 B
Bash
Executable file
#!/bin/sh
|
|
set -e
|
|
|
|
for test in *.c; do
|
|
echo "Testing $test"
|
|
../glcpp < $test > $test.out
|
|
gcc -E $test -o $test.gcc
|
|
grep -v '^#' < $test.gcc > $test.expected
|
|
diff -B -u $test.expected $test.out
|
|
done
|