Re: testsuite: distributed depending on non-distributed

Ralf Wildenhues <[email protected]>
Newsgroups gmane.comp.gnu.m4.patches
Organization Department of Numerical Simulation, University of Bonn
Message-ID <[email protected]>
Hello Eric,

* Eric Blake wrote on Thu, Sep 14, 2006 at 02:36:16AM CEST:
> 
> Here we go.  The tests/m4 wrapper is still useful, and is similar to the
> wrappers in autoconf/tests, so I kept it, with modifications.  I moved the
> stderr filtering out of the tests/m4 wrapper into the testsuite (so that
> installed m4 also gets filtered), updated the Makefile to build
> uninstalled modules directly into tests (so that '-M tests' now picks up
> only the test modules, and we can blindly use that instead of '-M modules'
> which would also pick up uninstalled libraries and hide a broken
> installation), and fixed a couple of shell portability bugs in the process.

Thanks, but now I get `make check' failures for tests 42-47:

Cheers,
Ralf

#                             -*- compilation -*-
42. modules.at:112: testing ...
../../m4/tests/modules.at:112: if test "x$DYNAMIC_MODULES" = xno ; then
  echo Dynamic module support not detected, skipping this test.
  exit 77
fi
../../m4/tests/modules.at:112:  m4 -m load -d -M "$abs_builddir" input.m4
--- -	2006-09-14 04:25:19.179785000 +0200
+++ /tmp/m4/build/tests/testsuite.dir/at-stderr	2006-09-14 04:25:19.000000000 +0200
@@ -1,5 +1,5 @@
 Test module loaded.
 test:	<test>
 Test module unloaded.
-m4:input.m4:6: Warning: dumpdef: undefined macro `test'
+/tmp/m4/build/src/.libs/lt-m4:input.m4:6: Warning: dumpdef: undefined macro `test'
 
42. modules.at:112: 42. --module-directory: absolute path (modules.at:112): FAILED (modules.at:112)

#                             -*- compilation -*-
43. modules.at:115: testing ...
../../m4/tests/modules.at:115: if test "x$DYNAMIC_MODULES" = xno ; then
  echo Dynamic module support not detected, skipping this test.
  exit 77
fi
../../m4/tests/modules.at:115:  m4 -m load -d -M "$top_build_prefix/tests" input.m4
--- -	2006-09-14 04:25:19.225350000 +0200
+++ /tmp/m4/build/tests/testsuite.dir/at-stderr	2006-09-14 04:25:19.000000000 +0200
@@ -1,5 +1,5 @@
 Test module loaded.
 test:	<test>
 Test module unloaded.
-m4:input.m4:6: Warning: dumpdef: undefined macro `test'
+/tmp/m4/build/src/.libs/lt-m4:input.m4:6: Warning: dumpdef: undefined macro `test'
 
43. modules.at:115: 43. --module-directory: relative path (modules.at:115): FAILED (modules.at:115)
[...]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.