Skip to content

Skip cleanup test if not built out of tree

Tobias Deiminger u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1test: Skip cleanup test if not built out of treetest/py/tests/test_cleanup_build.py+5 -02 replies

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchHarald Seiler
1/1R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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

Signature · 1 line
2.30.2