mirror of
https://github.com/uutils/coreutils
synced 2024-07-22 02:14:38 +00:00
fix/CICD ~ (GnuTests) disable factor tests
This commit is contained in:
parent
a46521bb8f
commit
baaa1639e1
|
@ -73,25 +73,25 @@ make -j "$(nproc)"
|
|||
# Handle generated factor tests
|
||||
t_first=00
|
||||
t_max=36
|
||||
t_max_release=20
|
||||
if test "${UU_MAKE_PROFILE}" != "debug"; then
|
||||
# Generate the factor tests, so they can be fixed
|
||||
# * reduced to 20 to decrease log size (down from 36 expected by GNU)
|
||||
# * only for 'release', skipped for 'debug' as redundant and too time consuming (causing timeout errors)
|
||||
seq=$(
|
||||
i=${t_first}
|
||||
while test "${i}" -le "${t_max_release}"; do
|
||||
printf '%02d ' $i
|
||||
i=$((i + 1))
|
||||
done
|
||||
)
|
||||
for i in ${seq}; do
|
||||
make "tests/factor/t${i}.sh"
|
||||
done
|
||||
cat
|
||||
sed -i -e 's|^seq |/usr/bin/seq |' -e 's|sha1sum |/usr/bin/sha1sum |' tests/factor/t*.sh
|
||||
t_first=$((t_max_release + 1))
|
||||
fi
|
||||
# t_max_release=20
|
||||
# if test "${UU_MAKE_PROFILE}" != "debug"; then
|
||||
# # Generate the factor tests, so they can be fixed
|
||||
# # * reduced to 20 to decrease log size (down from 36 expected by GNU)
|
||||
# # * only for 'release', skipped for 'debug' as redundant and too time consuming (causing timeout errors)
|
||||
# seq=$(
|
||||
# i=${t_first}
|
||||
# while test "${i}" -le "${t_max_release}"; do
|
||||
# printf '%02d ' $i
|
||||
# i=$((i + 1))
|
||||
# done
|
||||
# )
|
||||
# for i in ${seq}; do
|
||||
# make "tests/factor/t${i}.sh"
|
||||
# done
|
||||
# cat
|
||||
# sed -i -e 's|^seq |/usr/bin/seq |' -e 's|sha1sum |/usr/bin/sha1sum |' tests/factor/t*.sh
|
||||
# t_first=$((t_max_release + 1))
|
||||
# fi
|
||||
# strip all (debug) or just the longer (release) factor tests from Makefile
|
||||
seq=$(
|
||||
i=${t_first}
|
||||
|
|
Loading…
Reference in a new issue