bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnulib distcheck test failure


From: Ralf Wildenhues
Subject: gnulib distcheck test failure
Date: Thu, 17 May 2007 10:41:02 +0200 (CEST)
User-agent: SquirrelMail/1.4.9a

Hello Bruno, all,

gnulib-tool --with-tests --test  # interrupt at convenient location
.../configure
make check                       # passes, but:
make distcheck

fails because GNU make puts the wrong test-fprintf-posix.out file in the
tarball.  This is due to a builtin pattern rule `%.out: %' that causes
this file to be a copy of the binary test-fprintf-posix on GNU/Linux,
generated in the build tree, rather than taking
$(srcdir)/test-fprintf-posix.out (which has an older time stamp than
test-fprintf-posix).

Adding manually to gltests/Makefile.am the rule:

test-fprintf-posix.out:
        @:

fixes this, and makes `distcheck' pass again, but it should be added once
only, not once for each test that uses the .out file.  Use a new module
for this?  Not sure if it's worth the hassle.  We could simply rename the
file instead.

Cheers,
Ralf

| Binary files ../../gltests/test-fprintf-posix.out and
t-fprintf-posix.tmp differ
| FAIL: test-fprintf-posix.sh
[...]
| Binary files ../../gltests/test-fprintf-posix.out and t-printf-posix.tmp
differ
| FAIL: test-printf-posix.sh
[...]
| Binary files ../../gltests/test-fprintf-posix.out and
t-vfprintf-posix.tmp differ
| FAIL: test-vfprintf-posix.sh
| Binary files ../../gltests/test-fprintf-posix.out and
t-vprintf-posix.tmp differ
| FAIL: test-vprintf-posix.sh








reply via email to

[Prev in Thread] Current Thread [Next in Thread]