On Thursday 20 January 2011, Stefano Lattarini wrote: > Hello Ralf. > > On Wednesday 19 January 2011, Ralf Wildenhues wrote: > > The testsuite is too large for MSYS. > > > Ouch. > > > We've finally reached the point where we have more than 1000 > > tests, $(TESTS) expands to 15k characters, and where 'make check' will > > not work at all any more on MSYS, because it cannot spawn sh any more, > > presumably in 'make check TESTS="..."'. (MSYS make doesn't export > > macros to the environment of spawned processes even without .NOEXPORT, > > presumably otherwise lots of Makefiles would be really unusable here.) > > This also clears up the spurious failure of sed a few days ago. > > > > Here's a preliminary plan for multiple testsuites per Makefile.am. > > > Hmmm... while this feature might be worth having even indipendently > from the issue at hand (but see below for small nits), I still think > that in the long run it would be nicer to transparently work around > such command-line length issues in the test driver, if possible. Do > you think your patch "parallel-tests: avoid command-line length limit > issue" (from commit v1.11-191-g24e3b4e) could be resurrected in some > way? > OK, I've done my homework and come up with the attached patch. It's not yet very well polished, and certainly needs more testsuite exposure [1] on various systems before being "ok to apply", but it seems quite promising to me. [1] I'm posting it now anyway because I'm out of time for today. Sorry. Also, I'd appreciate if anyone could test it on MSYS (and Cygwin?), since I don't have access to those systems. Thanks, Stefano