diff options
| author | Jeff Epler <jepler@gmail.com> | 2025-07-05 17:37:28 +0100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2025-07-16 11:13:08 +1000 |
| commit | 628d53d23cf42986bc3ae55fda2062e2016a7c2d (patch) | |
| tree | 3497c30e47e19f1b3da7b51874a80be393f3b8ba /tests | |
| parent | 0a4f9ec46bc0c962b5d0eff00e4ea49287fd9112 (diff) | |
unix/coverage: Expand mp_printf coverage tests.
Test 'l' and 'll' sized objects. When the platform's `mp_int_t` is not 64
bits, dummy values are printed instead so the test result can match across
all platforms.
Ensure hex test values have a letter so 'x' vs 'X' is tested.
And test 'p' and 'P' pointer printing.
Signed-off-by: Jeff Epler <jepler@gmail.com>
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ports/unix/extra_coverage.py.exp | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/tests/ports/unix/extra_coverage.py.exp b/tests/ports/unix/extra_coverage.py.exp index 00658ab3a..e20871273 100644 --- a/tests/ports/unix/extra_coverage.py.exp +++ b/tests/ports/unix/extra_coverage.py.exp @@ -2,19 +2,34 @@ -123 +123 123 -0123 123 -123 -1ABCDEF +123f +123F +7fffffffffffffff +7FFFFFFFFFFFFFFF +18446744073709551615 +789f +789F ab abc ' abc' ' True' 'Tru' false true (null) -2147483648 2147483648 -80000000 -80000000 +8000000f +8000000F abc % .a . +<%> +<aaaa> +<true> +<43690> +<43690> +<43690> +<test> +<1000.000000> +<True> +<9223372036854775807> # GC 0 0 |
