]> sourceware.org Git - libabigail.git/commitdiff
Use absolute builddir paths in automake test files
authorDodji Seketeli <dodji@redhat.com>
Wed, 18 Apr 2018 08:18:58 +0000 (10:18 +0200)
committerDodji Seketeli <dodji@redhat.com>
Wed, 18 Apr 2018 08:21:40 +0000 (10:21 +0200)
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>
tests/runtestdefaultsupprs.py.in

index 10b71d1b0236c13f005f323eb8b29c95ddd14715..8b97fba12e73ba32a4922344c96d71bc9f130f37 100644 (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:
This page took 0.03201 seconds and 5 git commands to generate.