mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 08:30:10 +01:00
glcpp: Discard output of cmp when running the test suite.
We're already using the return-value of cmp to print either PASS or FAIL and in the case of failure, we're subsequently running and showing the output of diff. So any warnings/errors from cmp itself are not actually needed, and can be quite confusing.
This commit is contained in:
parent
4f9a64407c
commit
9b7fd2099f
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ for test in *.c; do
|
|||
echo -n "Testing $test..."
|
||||
../glcpp < $test > $test.out
|
||||
total=$((total+1))
|
||||
if cmp $test.expected $test.out; then
|
||||
if cmp $test.expected $test.out >/dev/null 2>&1; then
|
||||
echo "PASS"
|
||||
pass=$((pass+1))
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue