mirror of
https://github.com/micropython/micropython.git
synced 2025-09-06 18:00:48 +02:00
This commit reworks the Viper pointer boundary tests in order to make them more accurate and easier to extend. The tests are now easier to reason about in their output, using easier to read values, and bit thresholds are now more configurable. If a new conditional code sequence is introduced, adding a new bit threshold is just a matter of adding a value into a tuple at the beginning of the relevant test file. Load tests have also been made more accurate, with better function templates to test register-indexed operations. Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
21 lines
122 B
Plaintext
21 lines
122 B
Plaintext
--- 5
|
|
0x0 0x1 0x2
|
|
0x0
|
|
0x1
|
|
0x2
|
|
--- 8
|
|
0x3 0x4 0x5
|
|
0x3
|
|
0x4
|
|
0x5
|
|
--- 11
|
|
0x6 0x7 0x8
|
|
0x6
|
|
0x7
|
|
0x8
|
|
--- 12
|
|
0x9 0xa 0xb
|
|
0x9
|
|
0xa
|
|
0xb
|