Browse Source

t/aggregate-results: accomodate systems with small max argument list length

IRIX 6.5 has a default maximum argument list length of 20480.  The file
glob that is passed to aggregate-results currently exceeds this length, and
so the script cannot run successfully.  Work around this issue by passing
the file names in via the standard input rather than the argument list.

Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Brandon Casey 15 years ago committed by Junio C Hamano
parent
commit
6508eedf67
  1. 4
      t/Makefile
  2. 2
      t/aggregate-results.sh

4
t/Makefile

@ -35,7 +35,9 @@ aggregate-results-and-cleanup: $(T) @@ -35,7 +35,9 @@ aggregate-results-and-cleanup: $(T)
$(MAKE) clean

aggregate-results:
'$(SHELL_PATH_SQ)' ./aggregate-results.sh test-results/t*-*
for f in test-results/t*-*; do \
echo "$$f"; \
done | '$(SHELL_PATH_SQ)' ./aggregate-results.sh

# we can test NO_OPTIMIZE_COMMITS independently of LC_ALL
full-svn-test:

2
t/aggregate-results.sh

@ -6,7 +6,7 @@ failed=0 @@ -6,7 +6,7 @@ failed=0
broken=0
total=0

for file
while read file
do
while read type value
do

Loading…
Cancel
Save