ci: Clean up results directory between runs

When the CI is run locally, the results directory has
to be cleared between runs in order to no exit early
or contain junk.

Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Signed-off-by: Robert Foss <robert.foss@collabora.com>
Signed-off-by: Jakob Bornecrantz <jakob@collabora.com>
macos/master
Robert Foss 6 years ago committed by Jakob Bornecrantz
parent 9f8c75500e
commit d751cb3b85
  1. 2
      ci/run-tests.sh

@ -36,6 +36,8 @@ if [[ $LOCAL_MESA ]]; then
fi fi
rm -rf /virglrenderer/results/
mkdir -p /virglrenderer/results/
cd /virglrenderer cd /virglrenderer
if [[ ! $LOCAL_DEV ]]; then if [[ ! $LOCAL_DEV ]]; then
./autogen.sh --prefix=/usr/local --enable-debug --enable-tests ./autogen.sh --prefix=/usr/local --enable-debug --enable-tests

Loading…
Cancel
Save