From 3d315f7b5ce3fe0977b9255d2a831016c3c449ab Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 2 Jan 2008 19:04:02 +0100 Subject: Avoid a test failure. * testsuite/infloop-kawa-el: Invoke mkid with -m, since id-lang.map may not be installed yet. * testsuite/Makefile.am (TESTS_ENVIRONMENT): Set abs_top_srcdir. Signed-off-by: Jim Meyering --- testsuite/Makefile.am | 1 + testsuite/infloop-kawa-el | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/testsuite/Makefile.am b/testsuite/Makefile.am index cce9c0f..28a3383 100644 --- a/testsuite/Makefile.am +++ b/testsuite/Makefile.am @@ -5,6 +5,7 @@ TESTS = \ infloop-kawa-el TESTS_ENVIRONMENT = \ + abs_top_srcdir='$(abs_top_srcdir)' \ PATH="$(abs_builddir)/../src$(PATH_SEPARATOR)$$PATH" EXTRA_DIST = $(TESTS) single_file_token_bug.c diff --git a/testsuite/infloop-kawa-el b/testsuite/infloop-kawa-el index 4b3c391..e7a1f67 100755 --- a/testsuite/infloop-kawa-el +++ b/testsuite/infloop-kawa-el @@ -47,7 +47,8 @@ fi fail=0 -mkid f.el > out || fail=1 +lang_map="$abs_top_srcdir/libidu/id-lang.map" +mkid -m "$lang_map" f.el > out || fail=1 aid -R none b >> out || fail=1 cmp out exp || fail=1 -- cgit v1.2.3