mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
test/run-integration-tests: do not run the tests if only "clean" is passed
This commit is contained in:
parent
36f8cf0163
commit
abf6346c5e
@ -7,7 +7,7 @@ if [ $# -gt 0 ]; then
|
||||
else
|
||||
args="setup run clean-again"
|
||||
fi
|
||||
args_no_clean=$(sed -r 's/(^| )clean($| )/ /g' <<<$args)
|
||||
args_no_clean=$(sed -r 's/\bclean\b//g' <<<$args)
|
||||
do_clean=$( [ "$args" = "$args_no_clean" ]; echo $? )
|
||||
|
||||
ninja -C "$BUILD_DIR"
|
||||
@ -26,6 +26,8 @@ if [ $do_clean = 1 ]; then
|
||||
for TEST in TEST-??-* ; do
|
||||
( set -x ; make -C "$TEST" "BUILD_DIR=$BUILD_DIR" clean )
|
||||
done
|
||||
|
||||
[ -n "$args_no_clean" ] || exit 0
|
||||
fi
|
||||
|
||||
pass_blacklist() {
|
||||
|
Loading…
Reference in New Issue
Block a user