From 355df861da9e0b2e756a76940bb06b0198568134 Mon Sep 17 00:00:00 2001 From: Frantisek Sumsal Date: Fri, 28 Feb 2020 15:49:37 +0100 Subject: [PATCH] test: build docs when running TEST-99-RPM --- fedora-test-github.sh | 5 +++-- fedora-test.sh | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/fedora-test-github.sh b/fedora-test-github.sh index 6d5e7e37..acd6f67c 100755 --- a/fedora-test-github.sh +++ b/fedora-test-github.sh @@ -14,12 +14,13 @@ NCPU=$(getconf _NPROCESSORS_ONLN) if ! [[ $TESTS ]]; then make -j$NCPU all syncheck rpm logtee else - make -j$NCPU enable_documentation=no all logtee + [[ $TESTS == "99" ]] && make_docs=yes || make_docs=no + make -j$NCPU enable_documentation=$make_docs all logtee cd test time LOGTEE_TIMEOUT_MS=590000 make \ - enable_documentation=no \ + enable_documentation=$make_docs \ KVERSION=$(rpm -qa kernel --qf '%{VERSION}-%{RELEASE}.%{ARCH}\n' | sort -rn | head -1) \ DRACUT_NO_XATTR=1 \ TEST_RUN_ID=$RUN_ID \ diff --git a/fedora-test.sh b/fedora-test.sh index 753f10e3..395ed5f5 100755 --- a/fedora-test.sh +++ b/fedora-test.sh @@ -14,12 +14,13 @@ NCPU=$(getconf _NPROCESSORS_ONLN) if ! [[ $TESTS ]]; then make -j$NCPU all syncheck rpm logtee else - make -j$NCPU enable_documentation=no all logtee + [[ $TESTS == "99" ]] && make_docs=yes || make_docs=no + make -j$NCPU enable_documentation=$make_docs all logtee cd test time sudo LOGTEE_TIMEOUT_MS=300000 make \ - enable_documentation=no \ + enable_documentation=$make_docs \ KVERSION=$(rpm -qa kernel --qf '%{VERSION}-%{RELEASE}.%{ARCH}\n' | sort -rn | head -1) \ DRACUT_NO_XATTR=1 \ TEST_RUN_ID=$RUN_ID \