[PATCH 0/1] Skip cleanup test if not built out of tree

Tobias Deiminger tdmg at linutronix.de
Mon Jan 8 22:10:59 CET 2024


This patch avoids false positives in cases where tests are invoked with
test.py --build-dir=./ . 

See tbot issue 107 [1] for motivation and prior discussion.

Previously it resulted in:    
E   AssertionError: leftovers: net/mdio-uclass.c, net/bootp.c, [...]

Now it results in:
SKIPPED [2] test/py/tests/test_cleanup_build.py:23: Leftover detection
requires out of tree build.

[1] https://github.com/Rahix/tbot/issues/107#issuecomment-1880192186

Tobias Deiminger (1):
  test: Skip cleanup test if not built out of tree

 test/py/tests/test_cleanup_build.py | 5 +++++
 1 file changed, 5 insertions(+)


base-commit: 93d91e9485d902a1836a22e72d1a545b587adf36
-- 
2.30.2



More information about the U-Boot mailing list