diff options
author | Ruediger Meier | 2015-04-13 15:51:02 +0200 |
---|---|---|
committer | Ruediger Meier | 2015-05-08 15:11:56 +0200 |
commit | 4ba0bfbb5102dccd2d3b82a8f1aff63fe900ee4f (patch) | |
tree | 72050b7854c40cd20cc73c0e1e80a2b66f066de5 /tests/functions.sh | |
parent | Revert "travise: try to add coverity_scan" (diff) | |
download | kernel-qcow2-util-linux-4ba0bfbb5102dccd2d3b82a8f1aff63fe900ee4f.tar.gz kernel-qcow2-util-linux-4ba0bfbb5102dccd2d3b82a8f1aff63fe900ee4f.tar.xz kernel-qcow2-util-linux-4ba0bfbb5102dccd2d3b82a8f1aff63fe900ee4f.zip |
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 <ruediger.meier@ga-group.nl>
Diffstat (limited to 'tests/functions.sh')
-rw-r--r-- | tests/functions.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/functions.sh b/tests/functions.sh index a624c3e2c..438ca3a2f 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) |