autoconf-patches
[Top][All Lists]
Advanced

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

Re: 2.63b autotest vs. bison testsuite


From: Eric Blake
Subject: Re: 2.63b autotest vs. bison testsuite
Date: Fri, 10 Apr 2009 13:18:07 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Ralf Wildenhues on 4/6/2009 12:03 PM:
> Hi Eric,
> 
> * Eric Blake wrote on Mon, Apr 06, 2009 at 07:14:36PM CEST:
>> Ralf, do you think we should also add a 'parallel syntax check' test?
> 
> Yes, definitely.  And thanks for this patch and the testsuite size
> reduction!

Done:

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknfm28ACgkQ84KuGfSFAYDLRgCeJgewifrxC+hVOM5jKNzlCJld
XzYAn0kdWD8dvSEDW4uCtDKD3YRWHbap
=ZVgZ
-----END PGP SIGNATURE-----
>From 08fdbe95ea1ccddd40357b75e2c746e35f9ba47c Mon Sep 17 00:00:00 2001
From: Eric Blake <address@hidden>
Date: Fri, 10 Apr 2009 12:09:41 -0600
Subject: [PATCH] Test parallel handling of syntax error.

* tests/autotest.at (parallel syntax error): New test.
Suggested by Ralf Wildenhues

Signed-off-by: Eric Blake <address@hidden>
---
 ChangeLog         |    6 ++++++
 tests/autotest.at |   12 ++++++++++++
 2 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index a381a38..0e18a41 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-04-10  Eric Blake  <address@hidden>
+
+       Test parallel handling of syntax error.
+       * tests/autotest.at (parallel syntax error): New test.
+       Suggested by Ralf Wildenhues.
+
 2009-04-10  Ralf Wildenhues  <address@hidden>

        Document awk and config.status line length limitations.
diff --git a/tests/autotest.at b/tests/autotest.at
index c5a8b58..d9c6081 100644
--- a/tests/autotest.at
+++ b/tests/autotest.at
@@ -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
-- 
1.6.1.2


reply via email to

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