]> git.saurik.com Git - bison.git/commitdiff
* tests/actions.at, tests/calc.at, tests/headers.at,
authorAkim Demaille <akim@epita.fr>
Sun, 27 Jan 2002 10:59:15 +0000 (10:59 +0000)
committerAkim Demaille <akim@epita.fr>
Sun, 27 Jan 2002 10:59:15 +0000 (10:59 +0000)
* tests/torture.at: Adjust to the newest Autotest which no longer
forces `.' in the PATH.

ChangeLog
tests/actions.at
tests/calc.at
tests/headers.at
tests/torture.at

index 1eef7317c8ec02c554e7b8f844cc4af8833b78ce..06f73c0021920c6393b318b91edcff64f2ef656c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2002-01-26  Akim Demaille  <akim@epita.fr>
+
+       * tests/actions.at, tests/calc.at, tests/headers.at,
+       * tests/torture.at: Adjust to the newest Autotest which no longer
+       forces `.' in the PATH.
+
 2002-01-25  Akim Demaille  <akim@epita.fr>
 
        * tests/regression.at (%nonassoc and eof): New.
index e3d4ba2981255f8581a016603a4cb20c934c265b..6850ce65136dade9c0bcc3f8ecdc807c195cb582 100644 (file)
@@ -74,7 +74,7 @@ main (void)
 
 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 90241b35b21d4e428d9107d93f37eb9448206f47..f813c462949857c2118c3a6866e8a3b409aa9e67 100644 (file)
@@ -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 @@ AT_CHECK([wc -l <stderr | sed 's/[[^0-9]]//g'], 0,
 # 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 3f8ea961796a8939ab38057cc22a48b0300695ea..fb04301519b484b330b67e74003c8d018aee2e3e 100644 (file)
@@ -124,6 +124,6 @@ main (void)
 # 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 262a11d7b9ffd0002406d4937270cc943204331e..2853afb970e12ab68f5313b598b13e0ed8440c03 100644 (file)
@@ -85,12 +85,12 @@ AT_SETUP([Exploding the Stack Size with Alloca])
 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 @@ AT_SETUP([Exploding the Stack Size with Malloc])
 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