automake-patches
[Top][All Lists]
Advanced

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

Re: Non-recursive makefile with DejaGnu testsuite


From: Bernd Jendrissek
Subject: Re: Non-recursive makefile with DejaGnu testsuite
Date: Fri, 23 Feb 2007 21:48:53 +0200
User-agent: Mutt/1.4.2.1i

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
NotDashEscaped: You need GnuPG to verify this message

On Fri, Feb 23, 2007 at 06:36:24PM +0100, Ralf Wildenhues wrote:
> Thanks for all your comments.  The combined patch looks now like this
> for me.  What's worrying me is that
>   cd tests
>   make check VERBOSE=yes TESTS=dejagnu8.test
> 
> still outputs the warning:
> | WARNING: Couldn't find tool init file
> 
> at 'make check' and distcheck time in the test, which you were
> originally concerned about.  That doesn't seem right to me.
> Can you find out what's wrong?

I'm by no means a DejaGnu expert, but AFAICT it's totally harmless.  If
your tool is more complex than "hammer", you probably want to define
some Tcl procedures common to all tests for that tool, for example.  If
it really bothers you, try the meta-patch below, but I'm happy with the
combined patch you have so far.

--- dejagnu8.test       2007-02-23 20:46:33.000000000 +0200
+++ /tmp/dj8    2007-02-23 20:45:18.000000000 +0200
@@ -41,7 +41,7 @@
 DEJATOOL = hammer
 AM_RUNTESTFLAGS = HAMMER=$(srcdir)/tests/hammer
 RUNTESTSRCDIR = $(srcdir)/tests
-EXTRA_DIST = tests/hammer tests/hammer.test/hammer.exp tests/lib/hammer.exp
+EXTRA_DIST = tests/hammer tests/hammer.test/hammer.exp
 check-local:
        test -f hammer.log
        test -f hammer.sum
@@ -49,8 +49,6 @@
 END
 
 mkdir tests/hammer.test
-mkdir tests/lib
-: >tests/lib/hammer.exp
 
 cat > tests/hammer.test/hammer.exp << 'END'
 set test test

(FWIW doing the same with dejagnu3.test yields the same warning.)

Thanks for your help.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFF30UNwyMv24BBd/gRArsnAJwJWBuzSs63m4lFxFXxM/f8ILom2QCdECFS
2zQVMHOHGYaSP37EIUI7Nqg=
=z6fH
-----END PGP SIGNATURE-----




reply via email to

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