bison-patches
[Top][All Lists]
Advanced

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

Re: [PATCH 5/5] graphs: add tests, introducing -k graphs


From: Akim Demaille
Subject: Re: [PATCH 5/5] graphs: add tests, introducing -k graphs
Date: Thu, 18 Oct 2012 17:05:02 +0200

Le 18 oct. 2012 à 17:38, Theophile Ranquet a écrit :

> * tests/output.at: Add 6 tests to the testsuite.
> ---
> tests/output.at | 362 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 362 insertions(+)

Thanks, installed with these changes:

commit dd47b5220cb0346e3dd8d873f09b606733adf836
Author: Theophile Ranquet <address@hidden>
Date:   Thu Oct 18 15:38:33 2012 +0000

    graphs: add tests, introducing -k graph
    
    * tests/output.at (AT_TEST): New.
    Use it to add 6 --graph tests.
    
    Signed-off-by: Akim Demaille <address@hidden>

diff --git a/tests/output.at b/tests/output.at
index d560ecb..37d2c3d 100644
--- a/tests/output.at
+++ b/tests/output.at
@@ -233,9 +233,12 @@ AT_CHECK_OUTPUT_FILE_NAME([[@<:@]])
 AT_CHECK_OUTPUT_FILE_NAME([[@:>@]])
 
 
+# AT_TEST(SETUP-NAME, GRAMMAR, DOT-BODY)
+# --------------------------------------
+# Check that the DOT graph for GRAMMAR is DOT-BODY.
 m4_pushdef([AT_TEST],
 [AT_SETUP([$1])
-AT_KEYWORDS([[graphs]])
+AT_KEYWORDS([[graph]])
 AT_DATA([[input.y]], [$2])
 AT_BISON_CHECK([[-rall --graph input.y]], [0], [[]], [[ignore]])
 AT_CHECK([[grep -v // input.dot]], [0],


(Promote singular over plural, that's easier to remember if
you are consistent.)


reply via email to

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