]> git.ipfire.org Git - thirdparty/systemd.git/commit
test: don't try to find BUILD_DIR when NO_BUILD is set
authorFranck Bui <fbui@suse.com>
Tue, 3 Aug 2021 06:44:47 +0000 (08:44 +0200)
committerFranck Bui <fbui@suse.com>
Wed, 18 Aug 2021 15:37:55 +0000 (17:37 +0200)
commitdfd73ccb14e6839df7d8633984c382d01d630b3f
treeca8745ec0228f748f633a42bdf042ff907573206
parentabf062674ea04b9f0fe5a05b4daeacea74a5b53b
test: don't try to find BUILD_DIR when NO_BUILD is set

NO_BUILD=1 indicates that we want to test systemd from the local system and not
the one from the local build. Hence there should be no need to call
find-build-dir.sh when NO_BUID=1 especially since it's likely that the script
will fail to find a local build in this case.

This avoids find-build-dir.sh to emit 'Specify build directory with $BUILD_DIR'
message when NO_BUILD=1 and no local build can be found.

This introduces a behavior change though: systemd from the local system will
always be preferred when NO_BUILD=1 even if a local build can be found.
test/test-functions