]> git.dujemihanovic.xyz Git - u-boot.git/commit
test: boot: fix bootflow_cmd_label for when DSA_SANDBOX is disabled
authorJerome Forissier <jerome.forissier@linaro.org>
Wed, 16 Oct 2024 09:56:26 +0000 (11:56 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 16 Oct 2024 17:11:56 +0000 (11:11 -0600)
commit625d40ab120dbc6f45dbd975857f8f87e422bd0f
tree9639751e9ae53a383f87a4ca13da6d8fd2d9fb8f
parent69aee0c80229536acdd02f6c3187f7cfdee597bc
test: boot: fix bootflow_cmd_label for when DSA_SANDBOX is disabled

When DSA_SANDBOX is not set, the sandbox tests fail as follows:

 $ ./test/py/test.py --build-dir=$(pwd) -k bootdev_test_any
 [...]
 Scanning for bootflows with label '9'
 [...]
 Cannot find '9' (err=-19)

This is due to the device list containing two less entries than
expected. Therefore, look for label '7' when DSA_SANDBOX is disabled.

The actual use case is NET_LWIP=y (to be introduced in later patches)
which implies DSA_SANDBOX=n for the time being.

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
test/boot/bootflow.c