automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Large number of tests when shell has limited argument list space


From: Albert Chin
Subject: Large number of tests when shell has limited argument list space
Date: Mon, 5 Feb 2007 22:52:43 -0600
User-agent: Mutt/1.5.6i

ImageMagick-6.2.9 has a large number of tests. The check-TESTS rule in
automake-1.10 is:
  check-TESTS: $(TESTS)
  ...
          list=' $(TESTS) '; \
          if test -n "$$list"; then \
            for tst in $$list; do \

Because AIX 4.3.3 has a small limit on the command buffer, 'make check'
returns:
  ...
  gmake[1]: Entering directory `/opt/build/ImageMagick-6.2.9'
  gmake[1]: execvp: /opt/fsw/bash30/bin/bash: The parameter or environment 
lists are too long.
  gmake[1]: *** [check-TESTS] Error 127

HP-UX 10.20 also has this problem:
  ...
  gmake[1]: Entering directory `/opt/build/ImageMagick-6.2.9'
  gmake[1]: execvp: /opt/fsw/bash30/bin/bash: Arg list too long
  gmake[1]: *** [check-TESTS] Error 127

What's the best way to solve this? AIX 5.1+ also have this problem.
But, we can increase ncargs to work around it.

Maybe just ignore the problem on AIX 4.3.3 and HP-UX 10.20 as the
userbase is too small to warrant a fix?

-- 
albert chin (address@hidden)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]