test: Fix missing livetree test runs
authorSimon Glass <sjg@chromium.org>
Wed, 7 Sep 2022 02:26:59 +0000 (20:26 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 29 Sep 2022 20:07:58 +0000 (16:07 -0400)
commit7c14dc7f77705f79ba49e7f0b2879986fea70fea
tree12658962b331cfd5b3adfafe9cda82344140cecd
parentb215b6034c4e75d8eb0a958574b7ec3d7754b180
test: Fix missing livetree test runs

At present the live tree tests are not run on sandbox. This bug is in two
parts, with a duplicate flag value and incorrect logic in the test runner.
This was not noticed because the bug was fixed in a later commit and does
not cause test failures.

Fix this.

Fixes: 7b1dfc9fd7e ("dm: core: Prepare for updating the device tree with ofnode")

Signed-off-by: Simon Glass <sjg@chromium.org>
include/test/test.h
test/dm/ofnode.c
test/test-main.c