Skip to content
Commit 2d30b293 authored by Tobias Deiminger's avatar Tobias Deiminger Committed by Tom Rini
Browse files

test: Skip cleanup test if not built out of tree



With commit 42c0e5bb ("test: Find leftovers after clean/mrproper")
we assume that we are performing out of tree builds. test_clean and
test_mrproper fail if the assumption isn't met.

However there are valid scenarios where tests run with in source builds
(i.e., test.py --build-dir=.).

Automatically skip cleanup tests in such scenarios to prevent false
positives.

Signed-off-by: default avatarTobias Deiminger <tdmg@linutronix.de>
Reviewed-by: default avatarHarald Seiler <u-boot@rahix.de>
parent 3c3270b5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment