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 <dodji@redhat.com>
This commit is contained in:
Dodji Seketeli 2018-04-18 10:18:58 +02:00
parent cc45a9e7f0
commit 6824e5c968

View File

@ -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: