[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#19042: test-driver path in automake 1.14.1
From: |
Adrian Calianu |
Subject: |
bug#19042: test-driver path in automake 1.14.1 |
Date: |
Thu, 13 Nov 2014 09:47:37 +0000 |
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
Description: new_rt_path_for_test-driver.patch
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#19042: test-driver path in automake 1.14.1,
Adrian Calianu <=