]> git.ipfire.org Git - thirdparty/dracut.git/blame - fedora-test-github.sh
fedora-test.sh / fedora-test-github.sh: don't build the documentation
[thirdparty/dracut.git] / fedora-test-github.sh
CommitLineData
3aae122c
HH
1#!/bin/bash
2
3set -ex
4
5[[ -d ${0%/*} ]] && cd ${0%/*}
6
7RUN_ID="$1"
8TESTS=$2
9
10./configure
11
12NCPU=$(getconf _NPROCESSORS_ONLN)
13
14if ! [[ $TESTS ]]; then
15 make -j$NCPU all syncheck rpm logtee
16else
55a974ba 17 make -j$NCPU enable_documentation=no all logtee
3aae122c
HH
18
19 cd test
20
21 time LOGTEE_TIMEOUT_MS=590000 make \
55a974ba 22 enable_documentation=no \
3aae122c
HH
23 KVERSION=$(rpm -qa kernel --qf '%{VERSION}-%{RELEASE}.%{ARCH}\n' | sort -rn | head -1) \
24 DRACUT_NO_XATTR=1 \
25 TEST_RUN_ID=$RUN_ID \
26 ${TESTS:+TESTS="$TESTS"} \
27 -k V=1 \
28 check
29fi