From: Dodji Seketeli Date: Wed, 18 Apr 2018 08:18:58 +0000 (+0200) Subject: Use absolute builddir paths in automake test files X-Git-Tag: libabigail-1.3~10 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=6824e5c96887b9ee9177cd444396f783f02c2819;p=libabigail.git Use absolute builddir paths in automake test files When switching to a more recent automake version on EL7, I realized that @top_builddir@ wasn't being resolved to an absolute path anymore, leading to errors when tests/runtestdefaultsupprs.py wasn't being run in the "right" directory. This is annoying. So this patches uses the absolute build path, explicitely. * tests/runtestdefaultsupprs.py.in: Use abs_top_builddir rather than top_builddir. Signed-off-by: Dodji Seketeli --- diff --git a/tests/runtestdefaultsupprs.py.in b/tests/runtestdefaultsupprs.py.in index 10b71d1b..8b97fba1 100644 --- a/tests/runtestdefaultsupprs.py.in +++ b/tests/runtestdefaultsupprs.py.in @@ -20,12 +20,12 @@ import os import subprocess -abidiff = '@top_builddir@/tools/abidiff' -abipkgdiff = '@top_builddir@/tools/abipkgdiff' +abidiff = '@abs_top_builddir@/tools/abidiff' +abipkgdiff = '@abs_top_builddir@/tools/abipkgdiff' test_src_dir = '@top_srcdir@/tests' -test_build_dir = '@top_builddir@/tests' +test_build_dir = '@abs_top_builddir@/tests' input_dir = '@top_srcdir@/tests/data/test-default-supprs' -output_dir = '@top_builddir@/tests/output/test-default-supprs' +output_dir = '@abs_top_builddir@/tests/output/test-default-supprs' # This variable named is a list of 5-uples. Here is the meaning of # the elements of each 5-uples: