summaryrefslogtreecommitdiff
path: root/tools/microcode-tool.py
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2025-02-12 16:24:07 -0600
committerTom Rini <trini@konsulko.com>2025-02-21 08:23:59 -0600
commit3e335ddca6fa7a3d613c082cf83ff7b5bd9ddc29 (patch)
tree9415be60c457588f8445e270c4cf38d08d6076f4 /tools/microcode-tool.py
parent7fa38ae6c778eabe6ad055ec40402b1eab61a3a5 (diff)
test/py: Rework test_spi.py to assert we found output
When running a newer version of pylint it will complain that page_size may be used before being assignment. Looking deeper what is going on is that we could run in to the case where the regex we run for any of the flash information fails but since we don't have a result, we don't check it either. In the case of the rest of the numerical values we then have some assignment (multiplying by some value) and so pylint doesn't complain. Rework things to assert that each regex has a result and so failure will stop the test and we won't have any use before assignment. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'tools/microcode-tool.py')
0 files changed, 0 insertions, 0 deletions