diff options
| author | Simon Glass <[email protected]> | 2024-08-22 07:57:50 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-08-26 18:51:49 -0600 |
| commit | 9b99762eff5eac971cd1ae561e443252afb7b985 (patch) | |
| tree | de2af28b3f1840d9acac81fa0e8b26940cabea29 /doc/develop | |
| parent | b073d48e8dd7d178ebd237089be730d15c72ddfc (diff) | |
test: Rename UTF_CONSOLE_REC to UTF_CONSOLE
The _REC suffix doesn't add much. Really what we want to know is whether
the test uses the console, so rename this flag.
Signed-off-by: Simon Glass <[email protected]>
Reviewed-by: Mattijs Korpershoek <[email protected]>
Diffstat (limited to 'doc/develop')
| -rw-r--r-- | doc/develop/tests_writing.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/develop/tests_writing.rst b/doc/develop/tests_writing.rst index c277c8dd44f..404d158ec40 100644 --- a/doc/develop/tests_writing.rst +++ b/doc/develop/tests_writing.rst @@ -167,7 +167,7 @@ There is no exactly equivalent C test, but here is a similar one that tests 'ms' return 0; } - MEM_TEST(mem_test_ms_b, UTF_CONSOLE_REC); + MEM_TEST(mem_test_ms_b, UTF_CONSOLE); This runs the command directly in U-Boot, then checks the console output, also directly in U-Boot. If run by itself this takes 100ms. For 1000 runs it takes @@ -266,7 +266,7 @@ with the suite. For example, to add a new mem_search test:: return 0; } - MEM_TEST(mem_test_ms_new_thing, UTF_CONSOLE_REC); + MEM_TEST(mem_test_ms_new_thing, UTF_CONSOLE); Note that the MEM_TEST() macros is defined at the top of the file. |
