]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
Merge branch 'master' into ng/master
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 6 May 2012 09:24:28 +0000 (11:24 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 6 May 2012 09:24:28 +0000 (11:24 +0200)
* master:
  m4: prepend m4 builtins with "m4_"
  require: autoconf >= 2.65; related simplifications
  docs: fix clumsy grammar in the scripts-based testsuite chapter
  tests: use append mode to capture parallel make output
  parallel-tests: separate different logs with an empty line

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
1  2 
configure.ac
doc/automake.texi
lib/am/check.am
m4/init.m4
syntax-checks.mk
t/lisp8.sh
t/parallel-tests3.sh
t/tap-more.sh

diff --cc configure.ac
Simple merge
Simple merge
diff --cc lib/am/check.am
index f158e1611c3a9b5a452b0ef9748cc8cd3f5823eb,9cda82aba62956860c76f53bbf5da4fbc3e529c6..8d5aa403efbdaa55cb5381fe7e687d61089747bb
@@@ -174,16 -153,15 +174,17 @@@ BEGIN { exit_status = 0; } 
        while ((rc = (getline line < ($$0 ".log"))) != 0) \
        { \
          if (rc < 0) \
 -          fatal("failed to read from " $$0 ".log"); \
 +          input_error($$0 ".log"); \
          print line; \
        }; \
+       printf "\n"; \
      }; \
 -## Don't leak open file descriptors, as this could cause serious
 -## problems when there are many tests (yes, even on Linux).
 -  close ($$0 ".trs"); \
 -  close ($$0 ".log"); \
 +  close_current(); \
 +} \
 +END { \
 +  if (exit_status != 0) \
 +    error("fatal: making $@: I/O error reading test results"); \
 +  exit(exit_status); \
  }'
  
  # Restructured Text title.
diff --cc m4/init.m4
Simple merge
index 10e1fcf9a181c80f055475303ef541f92d264a59,f8d9f8650b6054def91006a63939635681926fa5..86a1faef892ee4d45ef15b772910c3c627a40c80
@@@ -39,9 -39,8 +39,8 @@@ ams := $(shell find $(srcdir) -name '*.
  # guaranteed to work on my machine.
  syntax_check_rules = \
  $(sc_tests_plain_check_rules) \
- sc_test_names \
  sc_diff_automake_in_automake \
 -sc_diff_aclocal_in_automake \
 +sc_diff_aclocal_in_aclocal \
  sc_perl_syntax \
  sc_no_brace_variable_expansions \
  sc_rm_minus_f \
diff --cc t/lisp8.sh
Simple merge
index 151580f6ed504b34b39e3940a80fd41b573f9625,98467e6ae09a34551c6574a19bc82d8b64f8698b..e5063c72f54a672db24f08ff515d552cf5115a64
@@@ -66,13 -87,12 +66,12 @@@ for build in serial parallel; d
  done
  
  cd serial
 -$MAKE ${j}1 check &
 +$MAKE -j1 check &
  cd ../parallel
  $sleep
- # Use append mode here to avoid dropping output.
- # Yes, this actually happens.
- : >stdout
+ # Use append mode here to avoid dropping output.  See automake bug#11413.
+ : > stdout
 -$MAKE ${j}4 check >> stdout
 +$MAKE -j4 check >> stdout
  cd ..
  # Ensure the tests are really being run in parallel mode: if this is
  # the case, the serial run of the dummy testsuite started above should
diff --cc t/tap-more.sh
Simple merge