diff options
| author | Jim Mussared <jim.mussared@gmail.com> | 2022-09-19 12:03:38 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2022-09-19 23:51:10 +1000 |
| commit | 6ecdf1a240e43bd60c824c7efd575c0a82d02d7e (patch) | |
| tree | 5d987a8b9c4cd93f0bc2326eebb6bf7b6516e1b1 /tests | |
| parent | 9ae8d3820474a9525d707b1e19f7703721aec1c8 (diff) | |
tests/frozen: Move frozentest.mpy from ports/ to tests/.
frozentest.mpy was previously duplicated in ports/minimal and
ports/powerpc.
This needs to be re-generated on every .mpy version increase, so might as
well just have a single copy of it.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/frozen/README.md | 2 | ||||
| -rw-r--r-- | tests/frozen/frozentest.mpy | bin | 0 -> 196 bytes | |||
| -rw-r--r-- | tests/frozen/frozentest.py | 7 |
3 files changed, 9 insertions, 0 deletions
diff --git a/tests/frozen/README.md b/tests/frozen/README.md new file mode 100644 index 000000000..bd786d5a3 --- /dev/null +++ b/tests/frozen/README.md @@ -0,0 +1,2 @@ +This is a .mpy built against the current .mpy version that can be used to test +freezing without a dependency on mpy-cross. diff --git a/tests/frozen/frozentest.mpy b/tests/frozen/frozentest.mpy Binary files differnew file mode 100644 index 000000000..99581617a --- /dev/null +++ b/tests/frozen/frozentest.mpy diff --git a/tests/frozen/frozentest.py b/tests/frozen/frozentest.py new file mode 100644 index 000000000..78cdd60bf --- /dev/null +++ b/tests/frozen/frozentest.py @@ -0,0 +1,7 @@ +print("uPy") +print("a long string that is not interned") +print("a string that has unicode αβγ chars") +print(b"bytes 1234\x01") +print(123456789) +for i in range(4): + print(i) |
