Merge branch 'yacc-work' into yl-work-for-master
[platform/upstream/automake.git] / tests / yaccvpath.test
index 3009063..922c53e 100755 (executable)
@@ -1,6 +1,6 @@
 #! /bin/sh
-# Copyright (C) 2001, 2002, 2003, 2010, 2011 Free Software Foundation,
-# Inc.
+# Copyright (C) 2001, 2002, 2003, 2010, 2011, 2012 Free Software
+# Foundation, Inc.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
 
 # Please keep this in sync with sister test `yacc-d-vpath.test'.
 
-required=yacc
+required='cc yacc'
 . ./defs || Exit 1
 
-set -e
-
 cat >> configure.in << 'END'
 AC_PROG_CC
 AC_PROG_YACC
@@ -39,7 +37,7 @@ bin_PROGRAMS = foo
 foo_SOURCES = parse.y foo.c
 END
 
-# Original parser, with `foobar'
+# Original parser, with `foobar'.
 cat > parse.y << 'END'
 %{
 int yylex () { return 0; }
@@ -66,7 +64,7 @@ cd sub
 
 $sleep
 
-# New parser, with `fubar'
+# New parser, with `fubar'.
 cat > ../parse.y << 'END'
 %{
 int yylex () { return 0; }
@@ -84,7 +82,7 @@ $FGREP fubar $distdir/parse.c
 
 $sleep
 
-# New parser, with `maude'
+# New parser, with `maude'.
 cat > ../parse.y << 'END'
 %{
 int yylex () { return 0; }