* tests/defs.in (lex, bison): Use `skip_' to signal test skipping. --- ChangeLog | 5 +++++ tests/defs.in | 12 ++---------- 2 files changed, 7 insertions(+), 10 deletions(-)
diff --git a/ChangeLog b/ChangeLog index fef3648..4769ca1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2011-05-04 Stefano Lattarini <stefano.lattar...@gmail.com> + tests defs: use `skip_' for skipping yacc/lex related tests + * tests/defs.in (lex, bison): Use `skip_' to signal test skipping. + +2011-05-04 Stefano Lattarini <stefano.lattar...@gmail.com> + tests defs: merge cleanup (flex, bison): Requirements removed, we have real `lex' and `yacc' requirements now. diff --git a/tests/defs.in b/tests/defs.in index f65256c..654ac93 100644 --- a/tests/defs.in +++ b/tests/defs.in @@ -283,20 +283,12 @@ do ( texi2dvi -o /dev/null --version ) || exit 77 ;; lex) - if test x"$LEX" = x"false"; then - echo "$me: no working \$LEX found at configure time," \ - "or explicitly disabled" >&2 - exit 77 - fi export LEX + test x"$LEX" = x"false" && skip_ "lex not found or disabled" ;; yacc) - if test x"$YACC" = x"false"; then - echo "$me: no working \$YACC found at configure time," \ - "or explicitly disabled" >&2 - exit 77 - fi export YACC + test x"$YACC" = x"false" && skip_ "yacc not found or disabled" ;; # Generic case: the tool must support --version. *) -- 1.7.2.3