From 4ba0bfbb5102dccd2d3b82a8f1aff63fe900ee4f Mon Sep 17 00:00:00 2001 From: Ruediger Meier Date: Mon, 13 Apr 2015 15:51:02 +0200 Subject: [PATCH] tests: add $top_builddir to $PATH Since we have dropped some more hardcoded search paths we should make sure that our tested binaries would use the right helpers from our build directory. See 07b51567 and follow-up commits. Signed-off-by: Ruediger Meier --- tests/functions.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/functions.sh b/tests/functions.sh index a624c3e2c3..438ca3a2f9 100644 --- a/tests/functions.sh +++ b/tests/functions.sh @@ -222,6 +222,9 @@ function ts_init_env { top_srcdir=$(ts_abspath $top_srcdir) top_builddir=$(ts_abspath $top_builddir) + # some ul commands search other ul commands in $PATH + export PATH="$top_builddir:$PATH" + TS_SCRIPT="$mydir/$(basename $0)" TS_SUBDIR=$(dirname $TS_SCRIPT) TS_TESTNAME=$(basename $TS_SCRIPT) -- 2.47.3