Actions
Bug #613
closedmake check fails in VPATH build
Start date:
08/06/2013
Due date:
% Done:
100%
Estimated time:
Description
If the build directory differs from the source directory, e.g.:
source dir is in ~/git/lttng-tools
cd ~/git/lttng-tools
./bootstrap
./configure
make distclean
mkdir /tmp/tools-build
cd /tmp/tools-build
~/git/lttng-tools/configure
make
make check
The make check command fails with:
make[2]: Entering directory `/tmp/t2/tests' ./run.sh unit_tests /bin/bash: ./run.sh: No such file or directory make[2]: *** [check-am] Error 127 make[2]: Leaving directory `/tmp/t2/tests' make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory `/tmp/t2/tests' make: *** [check-recursive] Error 1
Basically, every script that we use within the tests should be copied over to the build directory. I fixed this in lttng-ust already with the following commit:
commit 38fa37816974b5ed05b54c79a2c5fd00c891c829 Author: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Date: Tue Aug 6 11:50:02 2013 -0400 Fix: allow make check to run in VPATH build Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
A similar approach should be used within tools tests.
Updated by David Goulet over 11 years ago
- Status changed from New to Confirmed
- Target version set to 2.2
Updated by David Goulet over 11 years ago
- Status changed from Confirmed to Resolved
- % Done changed from 0 to 100
Applied in changeset c83e7ca00efd681ec2406d2a2b2622d373ae2647.
Actions