mirror of
https://github.com/systemd/systemd
synced 2024-10-14 20:17:52 +00:00
test: don't export $TOOLS_DIR
It's not (and shouldn't be) used by any test scripts.
This commit is contained in:
parent
256a835f1c
commit
04ef5d1bd7
|
@ -107,10 +107,10 @@ fi
|
|||
TEST_BASE_DIR=${TEST_BASE_DIR:-$(realpath "$(dirname "${BASH_SOURCE[0]}")")}
|
||||
TEST_UNITS_DIR="$(realpath "$TEST_BASE_DIR/units")"
|
||||
SOURCE_DIR=$(realpath "$TEST_BASE_DIR/..")
|
||||
TOOLS_DIR="$SOURCE_DIR/tools"
|
||||
# These variables are used by test scripts
|
||||
export TEST_BASE_DIR TEST_UNITS_DIR SOURCE_DIR TOOLS_DIR
|
||||
export TEST_BASE_DIR TEST_UNITS_DIR SOURCE_DIR
|
||||
|
||||
TOOLS_DIR="$SOURCE_DIR/tools"
|
||||
# note that find-build-dir.sh will return $BUILD_DIR if provided, else it will try to find it
|
||||
if get_bool "${NO_BUILD:=}"; then
|
||||
BUILD_DIR="$SOURCE_DIR"
|
||||
|
|
Loading…
Reference in a new issue