bison-patches
[Top][All Lists]
Advanced

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

01-fyi-adjust-to-autotest.patch


From: Akim Demaille
Subject: 01-fyi-adjust-to-autotest.patch
Date: 26 Jan 2002 17:22:11 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp)

Index: ChangeLog
from  Akim Demaille  <address@hidden>
        
        * tests/actions.at, tests/calc.at, tests/headers.at,
        * tests/torture.at: Adjust to the newest Autotest which no longer
        forces `.' in the PATH.
        
Index: tests/actions.at
--- tests/actions.at Sat, 29 Dec 2001 12:06:57 +0100 akim
+++ tests/actions.at Sat, 26 Jan 2002 15:21:54 +0100 akim
@@ -74,7 +74,7 @@ exp:     { putchar ('0'); }
 
 AT_CHECK([bison input.y -d -v -o input.c])
 AT_CHECK([$CC $CFLAGS $CPPFLAGS input.c -o input], 0, [], [ignore])
-AT_CHECK([input], 0,
+AT_CHECK([./input], 0,
 [[0123456789
 ]])
 
Index: tests/calc.at
--- tests/calc.at Fri, 28 Dec 2001 17:49:11 +0100 akim
+++ tests/calc.at Sat, 26 Jan 2002 15:21:24 +0100 akim
@@ -285,7 +285,7 @@ m4_define([_AT_CHECK_CALC],
 [AT_DATA([[input]],
 [[$2
 ]])
-AT_CHECK([calc input], 0, [], [stderr])dnl
+AT_CHECK([./calc input], 0, [], [stderr])dnl
 AT_CHECK([wc -l <stderr | sed 's/[[^0-9]]//g'], 0,
          [m4_bmatch([$1], [--debug],
                     [$3], [0])
@@ -312,11 +312,11 @@ m4_define([_AT_CHECK_CALC],
 # of expected lines on stderr.
 m4_define([_AT_CHECK_CALC_ERROR],
 [m4_bmatch([$2], [^/],
-           [AT_CHECK([calc $2], 0, [], [stderr])],
+           [AT_CHECK([./calc $2], 0, [], [stderr])],
            [AT_DATA([[input]],
 [[$2
 ]])
-AT_CHECK([calc input], 0, [], [stderr])])
+AT_CHECK([./calc input], 0, [], [stderr])])
 
 
 AT_CHECK([wc -l <stderr | sed 's/[[^0-9]]//g'], 0,
Index: tests/headers.at
--- tests/headers.at Sat, 29 Dec 2001 14:01:20 +0100 akim
+++ tests/headers.at Sat, 26 Jan 2002 15:21:48 +0100 akim
@@ -124,6 +124,6 @@ exp:;
 # Link and execute, just to make sure everything is fine (and in
 # particular, that MY_LLOC is indeed defined somewhere).
 AT_CHECK([$CC $CFLAGS $CPPFLAGS caller.c input.c -o caller], 0, [], [ignore])
-AT_CHECK([caller])
+AT_CHECK([./caller])
 
 AT_CLEANUP
Index: tests/torture.at
--- tests/torture.at Sun, 06 Jan 2002 21:34:57 +0100 akim
+++ tests/torture.at Sat, 26 Jan 2002 15:20:25 +0100 akim
@@ -85,12 +85,12 @@ exp: WAIT_FOR_EOF exp | ;
 AT_DATA_STACK_TORTURE
 
 # Below the limit of 200.
-AT_CHECK([input 20], 0, [], [ignore])
+AT_CHECK([./input 20], 0, [], [ignore])
 # Two enlargements: 2 * 2 * 200.
-AT_CHECK([input 900], 0, [], [ignore])
+AT_CHECK([./input 900], 0, [], [ignore])
 # Fails: beyond the limit of 10,000 (which we don't reach anyway since we
 # multiply by two starting at 200 => 5120 is the last possible).
-AT_CHECK([input 10000], 1, [], [ignore])
+AT_CHECK([./input 10000], 1, [], [ignore])
 
 AT_CLEANUP
 
@@ -106,12 +106,12 @@ exp: WAIT_FOR_EOF exp | ;
 AT_DATA_STACK_TORTURE([[#define YYSTACK_USE_ALLOCA 0]])
 
 # Below the limit of 200.
-AT_CHECK([input 20], 0, [], [ignore])
+AT_CHECK([./input 20], 0, [], [ignore])
 # Two enlargements: 2 * 2 * 200.
-AT_CHECK([input 900], 0, [], [ignore])
+AT_CHECK([./input 900], 0, [], [ignore])
 # Fails: beyond the limit of 10,000 (which we don't reach anyway since we
 # multiply by two starting at 200 => 5120 is the possible).
-AT_CHECK([input 10000], 1, [], [ignore])
+AT_CHECK([./input 10000], 1, [], [ignore])
 
 AT_CLEANUP
 



reply via email to

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