@@ -134,51 +134,51 @@ else
134134 # Use a better diff
135135 sed -i ' s|diff -c|diff -u|g' tests/Coreutils.pm
136136 " ${MAKE} " -j " $( " ${NPROC} " ) "
137- touch gnu-built
138- fi
139137
140- # Handle generated factor tests
141- t_first=00
142- t_max=36
143- # t_max_release=20
144- # if test "${UU_MAKE_PROFILE}" != "debug"; then
145- # # Generate the factor tests, so they can be fixed
146- # # * reduced to 20 to decrease log size (down from 36 expected by GNU)
147- # # * only for 'release', skipped for 'debug' as redundant and too time consuming (causing timeout errors)
148- # seq=$(
149- # i=${t_first}
150- # while test "${i}" -le "${t_max_release}"; do
151- # printf '%02d ' $i
152- # i=$((i + 1))
153- # done
154- # )
155- # for i in ${seq}; do
156- # "${MAKE}" "tests/factor/t${i}.sh"
157- # done
158- # cat
159- # sed -i -e 's|^seq |/usr/bin/seq |' -e 's|sha1sum |/usr/bin/sha1sum |' tests/factor/t*.sh
160- # t_first=$((t_max_release + 1))
161- # fi
162- # strip all (debug) or just the longer (release) factor tests from Makefile
163- seq=$(
164- i=${t_first}
165- while test " ${i} " -le " ${t_max} " ; do
166- printf ' %02d ' ${i}
167- i=$(( i + 1 ))
138+ # Handle generated factor tests
139+ t_first=00
140+ t_max=36
141+ # t_max_release=20
142+ # if test "${UU_MAKE_PROFILE}" != "debug"; then
143+ # # Generate the factor tests, so they can be fixed
144+ # # * reduced to 20 to decrease log size (down from 36 expected by GNU)
145+ # # * only for 'release', skipped for 'debug' as redundant and too time consuming (causing timeout errors)
146+ # seq=$(
147+ # i=${t_first}
148+ # while test "${i}" -le "${t_max_release}"; do
149+ # printf '%02d ' $i
150+ # i=$((i + 1))
151+ # done
152+ # )
153+ # for i in ${seq}; do
154+ # "${MAKE}" "tests/factor/t${i}.sh"
155+ # done
156+ # cat
157+ # sed -i -e 's|^seq |/usr/bin/seq |' -e 's|sha1sum |/usr/bin/sha1sum |' tests/factor/t*.sh
158+ # t_first=$((t_max_release + 1))
159+ # fi
160+ # strip all (debug) or just the longer (release) factor tests from Makefile
161+ seq=$(
162+ i=${t_first}
163+ while test " ${i} " -le " ${t_max} " ; do
164+ printf ' %02d ' ${i}
165+ i=$(( i + 1 ))
166+ done
167+ )
168+ for i in ${seq} ; do
169+ echo " strip t${i} .sh from Makefile"
170+ sed -i -e " s/\$ (tf)\/t${i} .sh//g" Makefile
168171 done
169- )
170- for i in ${seq} ; do
171- echo " strip t${i} .sh from Makefile"
172- sed -i -e " s/\$ (tf)\/t${i} .sh//g" Makefile
173- done
174172
175- grep -rl ' path_prepend_' tests/* | xargs sed -i ' s| path_prepend_ ./src||'
173+ # Remove tests checking for --version & --help
174+ # Not really interesting for us and logs are too big
175+ sed -i -e ' /tests\/help\/help-version.sh/ D' \
176+ -e ' /tests\/help\/help-version-getopt.sh/ D' \
177+ Makefile
178+ touch gnu-built
179+ fi
176180
177- # Remove tests checking for --version & --help
178- # Not really interesting for us and logs are too big
179- sed -i -e ' /tests\/help\/help-version.sh/ D' \
180- -e ' /tests\/help\/help-version-getopt.sh/ D' \
181- Makefile
181+ grep -rl ' path_prepend_' tests/* | xargs sed -i ' s| path_prepend_ ./src||'
182182
183183# printf doesn't limit the values used in its arg, so this produced ~2GB of output
184184sed -i ' /INT_OFLOW/ D' tests/printf/printf.sh
0 commit comments