]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Test parallel handling of syntax error.
authorEric Blake <ebb9@byu.net>
Fri, 10 Apr 2009 18:09:41 +0000 (12:09 -0600)
committerEric Blake <ebb9@byu.net>
Fri, 10 Apr 2009 19:16:18 +0000 (13:16 -0600)
* tests/autotest.at (parallel syntax error): New test.
Suggested by Ralf Wildenhues

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
tests/autotest.at

index a381a3806fa58d732c59f05e517b01e1633a1a6c..0e18a41af3a006e7a7eadae8420daeafa057845a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-04-10  Eric Blake  <ebb9@byu.net>
+
+       Test parallel handling of syntax error.
+       * tests/autotest.at (parallel syntax error): New test.
+       Suggested by Ralf Wildenhues.
+
 2009-04-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        Document awk and config.status line length limitations.
index c5a8b58628c00434718211763a912297fe98d412..d9c6081951ae1baa5aa07a001f91213bbd832205 100644 (file)
@@ -959,6 +959,18 @@ AT_CHECK_AT_TEST([parallel skip],
   [], [], [], [], [AT_SKIP_PARALLEL_TESTS],
   [AT_CHECK([grep skipped micro-suite.log], [], [ignore])], [-j])
 
+AT_CHECK_AT_TEST([parallel syntax error],
+  [AT_CHECK([:])
+   AT_CLEANUP
+   AT_SETUP([syntax])
+   AT_CHECK([if])
+   AT_CLEANUP
+   AT_SETUP([another test])
+   AT_CHECK([:])],
+  [], [1], [], [stderr], [AT_SKIP_PARALLEL_TESTS],
+  [AT_CHECK([grep "unable to parse test group: 2" stderr], [0], [ignore])
+   AT_CHECK([$CONFIG_SHELL ./micro-suite -j 3], [0], [ignore])], [-j])
+
 AT_CHECK_AT_TEST([parallel errexit],
   [AT_CHECK([false])
    AT_CLEANUP