test: build docs when running TEST-99-RPM

master
Frantisek Sumsal 2020-02-28 15:49:37 +01:00 committed by Harald Hoyer
parent 8cba0ff833
commit 355df861da
2 changed files with 6 additions and 4 deletions

View File

@ -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 \

View File

@ -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 \