]> git.ipfire.org Git - thirdparty/automake.git/commit
[ng] check: fix incompatibility with Solaris nawk
authorStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 25 May 2012 15:52:35 +0000 (17:52 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 25 May 2012 15:52:35 +0000 (17:52 +0200)
commit92d305960d83749239dae4579bfb46fb08ae6c23
tree6129b8c72cd7f08249306bf5199b2ac142125a84
parent8fc38b76b4d35e135599cd1e2138daa0cf08bb89
[ng] check: fix incompatibility with Solaris nawk

On Solaris 10, the parallel testsuite harness could fail with errors
like this when /usr/bin/nawk was the selected awk program.

  nawk: next is illegal inside a function at source line 1 in \
  function input_error; context is:
      function input_error(file) { ... close_current(); next; >>> } <<<

* lib/am/parallel-tests.am (am__create_global_log): In the awk script
defined by this function, avoid use of the 'next' directive inside a
function.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
lib/am/parallel-tests.am