Skip to content

Commit

Permalink
Fix some test not always actualy test
Browse files Browse the repository at this point in the history
  • Loading branch information
ptitSeb committed Oct 25, 2020
1 parent 75f4ba8 commit 9610cd7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
export LIBGL_FB=3
export LIBGL_SILENTSTUB=1
export LIBGL_NOBANNER=1
export LIBGL_NOERROR=1

tar xf ../traces/$1.tgz
apitrace dump-images --calls="$2" $1.trace >/dev/null
Expand All @@ -32,6 +33,9 @@ then

[[ -e diff_$1_GLES$LIBGL_ES.png ]] && rm diff_$1_GLES$LIBGL_ES.png
[[ -e $1.$2.$LIBGL_ES.png ]] && rm $1.$2.$LIBGL_ES.png
else
echo -n "Failed to get snapshot"
exit 1
fi

exit 0

0 comments on commit 9610cd7

Please sign in to comment.