From d751cb3b85d94a81a65aae26cd077985916f9e2b Mon Sep 17 00:00:00 2001 From: Robert Foss Date: Wed, 21 Nov 2018 20:11:41 +0100 Subject: [PATCH] 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 Signed-off-by: Robert Foss Signed-off-by: Jakob Bornecrantz --- ci/run-tests.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ci/run-tests.sh b/ci/run-tests.sh index c85b61a..e480509 100755 --- a/ci/run-tests.sh +++ b/ci/run-tests.sh @@ -36,6 +36,8 @@ if [[ $LOCAL_MESA ]]; then fi +rm -rf /virglrenderer/results/ +mkdir -p /virglrenderer/results/ cd /virglrenderer if [[ ! $LOCAL_DEV ]]; then ./autogen.sh --prefix=/usr/local --enable-debug --enable-tests