From 962e4198b2a64b827d197b7ee011d986fe2da264 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Mon, 24 May 2021 22:32:23 +0200 Subject: [PATCH 1/3] gnu/ci: limit the number of factor runs --- util/build-gnu.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/util/build-gnu.sh b/util/build-gnu.sh index 667dc8e46..c2659ae11 100644 --- a/util/build-gnu.sh +++ b/util/build-gnu.sh @@ -43,7 +43,8 @@ sed -i "s/^[[:blank:]]*PATH=.*/ PATH='${BUILDDIR//\//\\/}\$(PATH_SEPARATOR)'\"\ sed -i 's| tr | /usr/bin/tr |' tests/init.sh make # Generate the factor tests, so they can be fixed -for i in {00..36} +# Used to be 36. Reduced to 20 to decrease the log size +for i in {00..20} do make tests/factor/t${i}.sh done From 98f09a6b8b08b705dca590924101fd24e4bc2f76 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Mon, 24 May 2021 22:32:48 +0200 Subject: [PATCH 2/3] gnu/ci: don't run seq-precision - logs are too long --- util/build-gnu.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/util/build-gnu.sh b/util/build-gnu.sh index c2659ae11..e8ab4e44d 100644 --- a/util/build-gnu.sh +++ b/util/build-gnu.sh @@ -58,6 +58,10 @@ sed -i -e '/tests\/misc\/invalid-opt.pl/ D' \ -e '/tests\/misc\/help-version-getopt.sh/ D' \ Makefile +# logs are clotted because of this test +sed -i -e '/tests\/misc\/seq-precision.sh/ D' \ + Makefile + # printf doesn't limit the values used in its arg, so this produced ~2GB of output sed -i '/INT_OFLOW/ D' tests/misc/printf.sh From 97d15e34d984d3e73b4cc8f6102523c343ac9075 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Tue, 25 May 2021 14:58:56 +0200 Subject: [PATCH 3/3] Disable some factor tests --- util/build-gnu.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/util/build-gnu.sh b/util/build-gnu.sh index e8ab4e44d..9d73450f6 100644 --- a/util/build-gnu.sh +++ b/util/build-gnu.sh @@ -48,6 +48,14 @@ for i in {00..20} do make tests/factor/t${i}.sh done + +# strip the long stuff +for i in {21..36} +do + sed -i -e "s/\$(tf)\/t${i}.sh//g" Makefile +done + + grep -rl 'path_prepend_' tests/* | xargs sed -i 's|path_prepend_ ./src||' sed -i -e 's|^seq |/usr/bin/seq |' -e 's|sha1sum |/usr/bin/sha1sum |' tests/factor/t*sh