]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
test: build docs when running TEST-99-RPM
authorFrantisek Sumsal <frantisek@sumsal.cz>
Fri, 28 Feb 2020 14:49:37 +0000 (15:49 +0100)
committerHarald Hoyer <harald@hoyer.xyz>
Fri, 28 Feb 2020 15:31:43 +0000 (16:31 +0100)
fedora-test-github.sh
fedora-test.sh

index 6d5e7e37b7462bbb190267ee10d006d899ab6e28..acd6f67ca4680df898d2bcdac68d333fc784e5ef 100755 (executable)
@@ -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 \
index 753f10e382df55f90f09b29a7d6b06bcce50732a..395ed5f5f3e988e67f3fb4c3a3a1eff546b9f9dc 100755 (executable)
@@ -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 \