From: Frantisek Sumsal Date: Fri, 28 Feb 2020 14:49:37 +0000 (+0100) Subject: test: build docs when running TEST-99-RPM X-Git-Tag: 050~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=355df861da9e0b2e756a76940bb06b0198568134;p=thirdparty%2Fdracut.git test: build docs when running TEST-99-RPM --- diff --git a/fedora-test-github.sh b/fedora-test-github.sh index 6d5e7e37b..acd6f67ca 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 753f10e38..395ed5f5f 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 \