GNU bug report logs - #19042
test-driver path in automake 1.14.1

Previous Next

Package: automake;

Reported by: Adrian Calianu <Adrian.Calianu <at> enea.com>

Date: Thu, 13 Nov 2014 16:09:03 UTC

Severity: normal

To reply to this bug, email your comments to 19042 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-automake <at> gnu.org:
bug#19042; Package automake. (Thu, 13 Nov 2014 16:09:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Adrian Calianu <Adrian.Calianu <at> enea.com>:
New bug report received and forwarded. Copy sent to bug-automake <at> gnu.org. (Thu, 13 Nov 2014 16:09:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Adrian Calianu <Adrian.Calianu <at> enea.com>
To: "bug-automake <at> gnu.org" <bug-automake <at> gnu.org>
Cc: Adrian Calianu <Adrian.Calianu <at> enea.com>
Subject: test-driver path in automake 1.14.1
Date: Thu, 13 Nov 2014 09:47:37 +0000
[Message part 1 (text/plain, inline)]
Hello,

The path of test-driver into the generated src/tests/Makefile used in parallel tests could end in an absolute or wrong path in some cases like:
- Build dir separated from source dir.
- ./configure run with absolute path

In automake-1.14.1/bin/automake.in $am_config_aux_dir is defined relative to $(top_srcdir). This variable is used in handle_per_suffix_test function to call test-driver in parallel-tests. $top_srcdir is not anymore a relative path and will end by calling test-driver from an absolute path of source directory.

In Yocto build directory was separated from source directory and package test framework run some tests at runtime on target. Having an absolute path for test-driver in Makefile could cause problems.

I propose for test-driver the path to be relative path and $top_builddir for now looks to guarantee this path. In this way the tests can be run at build time and runtime.
Please find attached proposed patch.
Could you share your view on this issue?

Thanks,
Adrian Calianu

[new_rt_path_for_test-driver.patch (application/octet-stream, attachment)]

Information forwarded to bug-automake <at> gnu.org:
bug#19042; Package automake. (Fri, 30 Jan 2015 13:02:01 GMT) Full text and rfc822 format available.

Message #8 received at 19042 <at> debbugs.gnu.org (full text, mbox):

From: Adrian Calianu <Adrian.Calianu <at> enea.com>
To: "19042 <at> debbugs.gnu.org" <19042 <at> debbugs.gnu.org>
Subject: RE: test-driver path in automake 1.14.1
Date: Fri, 30 Jan 2015 13:01:48 +0000
Hi,

Does have anyone comments about this issue/patch?
Proposed patch can be took in consideration for next releases?

Many thanks,
Adrian




This bug report was last modified 10 years and 137 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.