3 # Execute several shaders, and check that the InfoLog outcome is the expected.
5 compiler
=.
/glsl_compiler
9 echo "====== Testing compilation output ======"
10 for test in `find . -iname '*.vert'`; do
11 echo -n "Testing $test..."
12 $compiler --just-log --version 150 "$test" > "$test.out" 2>&1
14 if diff "$test.expected" "$test.out" >/dev
/null
2>&1; then
19 diff "$test.expected" "$test.out"
24 echo "$pass/$total tests returned correct results"
27 if [[ $pass == $total ]]; then