From 0068409265b19917a95397a666f5a794aa6c1558 Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Fri, 4 Sep 2015 17:23:12 -0400 Subject: [PATCH] Fix: make check in OOT build with absolute path MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The previous patch fixed the out of tree build when the configure script was called with a path relative to the builddir but still failed when the path was absolute. This works with both. Signed-off-by: Michael Jeanson Signed-off-by: Jérémie Galarneau --- tests/bin/Makefile.am | 2 +- tests/bin/test_trace_read.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/bin/Makefile.am b/tests/bin/Makefile.am index 0245238c..086919b7 100644 --- a/tests/bin/Makefile.am +++ b/tests/bin/Makefile.am @@ -3,5 +3,5 @@ CLEANFILES = $(noinst_SCRIPTS) EXTRA_DIST = test_trace_read.in $(noinst_SCRIPTS): %: %.in - sed "s#@TOPSRCDIR@#$(top_srcdir)#g" < $< > $@ + sed "s#@ABSTOPSRCDIR@#$(abs_top_srcdir)#g" < $< > $@ chmod +x $@ diff --git a/tests/bin/test_trace_read.in b/tests/bin/test_trace_read.in index f9410e55..761fd056 100755 --- a/tests/bin/test_trace_read.in +++ b/tests/bin/test_trace_read.in @@ -20,7 +20,7 @@ TESTDIR=$CURDIR/.. BABELTRACE_BIN=$CURDIR/../../converter/babeltrace -CTF_TRACES=$CURDIR/@TOPSRCDIR@/tests/ctf-traces +CTF_TRACES=@ABSTOPSRCDIR@/tests/ctf-traces source $TESTDIR/utils/tap/tap.sh -- 2.34.1