[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Patch: FYI: use require in new test
From: |
Tom Tromey |
Subject: |
Patch: FYI: use require in new test |
Date: |
30 Dec 2001 13:59:11 -0700 |
I wasn't aware of the new `require' facility in the test suite.
I'm updating a new test to take advantage of it.
Tom
Index: ChangeLog
from Tom Tromey <address@hidden>
* tests/pr220.test: Use `required' to pick up gcc.
Index: tests/pr220.test
===================================================================
RCS file: /cvs/automake/automake/tests/pr220.test,v
retrieving revision 1.1
diff -u -r1.1 pr220.test
--- tests/pr220.test 2001/12/30 20:07:36 1.1
+++ tests/pr220.test 2001/12/30 20:47:22
@@ -2,6 +2,7 @@
# Test for PR automake/220.
+required=gcc
. $srcdir/defs || exit 1
cat >main.c <<EOF
@@ -31,9 +32,6 @@
])
AC_OUTPUT(Makefile)
EOF
-
-# Fail gracefully if no gcc.
-(gcc -v) > /dev/null 2>&1 || exit 77
touch README NEWS AUTHORS ChangeLog
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Patch: FYI: use require in new test,
Tom Tromey <=