]> git.saurik.com Git - bison.git/commitdiff
(_AT_CHECK_PRINTER_AND_DESTRUCTOR): New arg
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 11 Dec 2004 05:38:19 +0000 (05:38 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 11 Dec 2004 05:38:19 +0000 (05:38 +0000)
specifying whether the test is expected to fail.  Use it tp
specify that the [%defines %skeleton "lalr1.cc"] tests currently
fail.

tests/actions.at

index 40940089fce65365a894703956d1eba538b8e0cb..c517151f9f4e3f8e35246413948efb51157c5bd5 100644 (file)
@@ -444,11 +444,12 @@ Parsing FAILED.
 ])
 
 
-# AT_CHECK_PRINTER_AND_DESTRUCTOR([BISON-OPTIONS], [UNION-FLAG])
-# --------------------------------------------------------------
+# AT_CHECK_PRINTER_AND_DESTRUCTOR([BISON-OPTIONS], [UNION-FLAG], [FAIL_FLAG])
+# ---------------------------------------------------------------------------
 m4_define([AT_CHECK_PRINTER_AND_DESTRUCTOR],
 [AT_SETUP([Printers and Destructors $2: $1])
 
+AT_XFAIL_IF([$3])
 _AT_CHECK_PRINTER_AND_DESTRUCTOR($[1], $[2], $[3], $[4],
 [%error-verbose
 %debug
@@ -462,7 +463,9 @@ AT_CLEANUP
 
 AT_CHECK_PRINTER_AND_DESTRUCTOR([])
 AT_CHECK_PRINTER_AND_DESTRUCTOR([], [with union])
-AT_CHECK_PRINTER_AND_DESTRUCTOR([%defines %skeleton "lalr1.cc"])
-AT_CHECK_PRINTER_AND_DESTRUCTOR([%defines %skeleton "lalr1.cc"], [with union])
+
+AT_CHECK_PRINTER_AND_DESTRUCTOR([%defines %skeleton "lalr1.cc"], , :)
+AT_CHECK_PRINTER_AND_DESTRUCTOR([%defines %skeleton "lalr1.cc"], [with union], :)
+
 AT_CHECK_PRINTER_AND_DESTRUCTOR([%glr-parser])
 AT_CHECK_PRINTER_AND_DESTRUCTOR([%glr-parser], [with union])