From 7839b52acfbdcbe0454e211d2eca2cd6fbcf96fa Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 26 Oct 2021 09:43:02 +0200 Subject: .build.yml: Run unit tests in build_scripts: target. --- .build.yml | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/.build.yml b/.build.yml index 807a58c..05e8e8e 100644 --- a/.build.yml +++ b/.build.yml @@ -167,19 +167,15 @@ build_scripts: - scan-build $CHECKERS --keep-cc -o html-report make - fi - cd ../ - -after_scripts: - - if [ ${BUILD_TYPE} == "scripts" ];then - - XVFB_RUN="$(which xvfb-run || true)" - - if [ ${DISTRO_NAME} == "debian" ];then - - cd build-gtk3/ - - ${XVFB_RUN} env CTEST_OUTPUT_ON_FAILURE=1 make test - - cd ../ - - cd build-gtk3-no-IDO/ - - ${XVFB_RUN} env CTEST_OUTPUT_ON_FAILURE=1 make test - - cd ../ - - cd build-gtk2/ - - ${XVFB_RUN} env CTEST_OUTPUT_ON_FAILURE=1 make test - - cd ../ - - fi + - + - if [ ${DISTRO_NAME} == "debian" ];then + - cd build-gtk3/ + - ${XVFB_RUN} env CTEST_OUTPUT_ON_FAILURE=1 make test + - cd ../ + - cd build-gtk3-no-IDO/ + - ${XVFB_RUN} env CTEST_OUTPUT_ON_FAILURE=1 make test + - cd ../ + - cd build-gtk2/ + - ${XVFB_RUN} env CTEST_OUTPUT_ON_FAILURE=1 make test + - cd ../ - fi -- cgit v1.2.3