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 Fri, Sep 08, 2006 at 05:44:16PM CEST:
> 
> With that fixed, and this additional patch, make distcheck works again
> when TESTSUITEFLAGS is set to avoid the failing defn test (and on cygwin,
> [...])

FWIW, I don't get a distcheck pass: installcheck fails all module
related tests for me on GNU/Linux, because the `modtest' module
is not found.  Also, test 24 (--debug) fails; see below.

Cheers,
Ralf

#                             -*- compilation -*-
24. options.at:82: testing ...
../../tests/options.at:93: m4 -b -d -tlen in < /dev/null
../../tests/options.at:119: m4 -b -d -dV in < /dev/null
--- -   2006-09-12 10:04:50.535090000 +0200
+++ /tmp/m4/build/m4-1.9a/_build/tests/testsuite.dir/at-stderr       2006-09-12 10:04:50.000000000 +0200
@@ -1,8 +1,8 @@
-m4debug: module m4: opening file
+m4debug: module m4: opening file `m4.so'
 m4debug: module m4: init hook called
 m4debug: module m4: opened
 m4debug: module m4: builtins loaded
-m4debug: module gnu: opening file
+m4debug: module gnu: opening file `gnu.so'
 m4debug: module gnu: opened
 m4debug: module gnu: builtins loaded
 m4debug: module gnu: macros loaded
24. options.at:82: 24. --debug (options.at:82): FAILED (options.at:119)

#                             -*- compilation -*-
41. modules.at:27: testing frozen.m4f...
../../tests/modules.at:29: if test "x$DYNAMIC_MODULES" = xno ; then
  echo Dynamic module support not detected, skipping this test.
  exit 77
fi
../../tests/modules.at:54: m4 -b -d -m load frozen.m4 unfrozen.m4 < /dev/null
stderr:
m4:frozen.m4:5: cannot open module `modtest': file not found
stdout:
../../tests/modules.at:54: exit code was 1, expected 0
41. modules.at:27: 41. Freezing modules (modules.at:27): FAILED (modules.at:54)

#                             -*- compilation -*-
42. modules.at:113: testing ...
../../tests/modules.at:113: if test "x$DYNAMIC_MODULES" = xno ; then
  echo Dynamic module support not detected, skipping this test.
  exit 77
fi
../../tests/modules.at:113: test -f "$abs_top_builddir/modules/modtest.la" || exit 77
../../tests/modules.at:113:  m4 -m load -d input.m4 -M $top_buildpath/modules
--- -   2006-09-12 10:04:51.484510000 +0200
+++ /tmp/m4/build/m4-1.9a/_build/tests/testsuite.dir/at-stderr       2006-09-12 10:04:51.000000000 +0200
@@ -1,5 +1,2 @@
-Test module loaded.
-test:  <test>
-Test module unloaded.
-m4:input.m4:6: Warning: dumpdef: undefined macro `test'
+m4:input.m4:1: cannot open module `modtest': file not found

--- -   2006-09-12 10:04:51.488830000 +0200
+++ /tmp/m4/build/m4-1.9a/_build/tests/testsuite.dir/at-stdout       2006-09-12 10:04:51.000000000 +0200
@@ -1,7 +1 @@

-Test module called.
-Dumpdef: .
-
-test
-Dumpdef: .
-
../../tests/modules.at:113: exit code was 1, expected 0
42. modules.at:113: 42. --module-directory: absolute path (modules.at:113): FAILED (modules.at:113)

#                             -*- compilation -*-
43. modules.at:116: testing ...
[...]
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.