diff options
author | 2021-10-23 18:01:04 -0400 | |
---|---|---|
committer | 2021-10-23 18:17:09 -0400 | |
commit | 38348c15ee54a9d5a6aefeaef9dd41e031271dc0 (patch) | |
tree | 09054846cbf3ba5e45628e9a59205df27f07fffc /libsandbox | |
parent | sandbox: add a --run-configure option (diff) | |
download | sandbox-38348c15ee54a9d5a6aefeaef9dd41e031271dc0.tar.gz sandbox-38348c15ee54a9d5a6aefeaef9dd41e031271dc0.tar.bz2 sandbox-38348c15ee54a9d5a6aefeaef9dd41e031271dc0.zip |
tests: fix handling of srcdir vs abs_srcdir for dist creation
The paths listed in EXTRA_DIST must be the targets that we define
exactly, or running distcheck can fail with stale targets -- they
should have been generated before creating the dist, but they get
updated afterwards. This is easy to repro with:
touch tests/testsuite.at && make distcheck
Let's split the relative & absolute path logic a bit to help with
this. We should only use relative paths in dependency related
settings, but use absolute paths when running tools after a cd to
a different location.
Also add testsuite.list.at to the dist explicitly. We were getting
this implicitly via testsuite depending on it, but better to list
all the files exactly.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'libsandbox')
0 files changed, 0 insertions, 0 deletions