From 6824e5c96887b9ee9177cd444396f783f02c2819 Mon Sep 17 00:00:00 2001 From: Dodji Seketeli Date: Wed, 18 Apr 2018 10:18:58 +0200 Subject: [PATCH] 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 --- tests/runtestdefaultsupprs.py.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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: -- 2.43.5