aboutsummaryrefslogtreecommitdiff
path: root/test/py/u_boot_utils.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-10-23 17:26:11 -0600
committerSimon Glass <sjg@chromium.org>2021-11-28 16:51:51 -0700
commit689d0a1cb04cfc4bf9588660d03084c324bc10be (patch)
tree95edcbfcdfe7ad2142174573eb1190972037455e /test/py/u_boot_utils.py
parent0a92deec49eeaa19043523b1eb8a612e3e632640 (diff)
test/py: Relax the naming rules for unit tests
At present the collection function used by pytest is quite strict on the naming of the functions it detects. In particular it requires the name of the test to be repeated in the function name. This is not enforced anywhere else, but instead the tests are silently omitted from the pytest run. This affects a few dozen tests. The rule does not seem to have any particular purpose. Relax it, so that all tests that use the UNIT_TEST() macro will run, regardless of the name of the test function. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/py/u_boot_utils.py')
0 files changed, 0 insertions, 0 deletions