ci: Run `make check` instead of distcheck

check is more practical than distcheck since it doesn't
remove logs after the face, which allows us to always
keep logs. Even for non-failures.

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 d751cb3b85
commit da0b969ded
  1. 5
      ci/run-tests.sh

@ -41,11 +41,12 @@ 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
VRENDTEST_USE_EGL_SURFACELESS=1 make distcheck VRENDTEST_USE_EGL_SURFACELESS=1 make check
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
touch /virglrenderer/results/regressions_detected touch /virglrenderer/results/regressions_detected
cp virglrenderer-0.7.0/_build/sub/tests/*.log /virglrenderer/results/
fi fi
mkdir -p /virglrenderer/results/make_check
cp tests/test*.log /virglrenderer/results/make_check/
fi fi
make -j$(nproc) install make -j$(nproc) install

Loading…
Cancel
Save