micropython/tools/mpremote/tests
Damien George 71c7c03e41 tools/mpremote/tests: Add test for RemoteFile.readline.
Signed-off-by: Damien George <damien@micropython.org>
2025-02-28 14:14:58 +11:00
..
README.md tools/mpremote: Add initial regression tests for mpremote. 2024-10-09 16:39:00 +11:00
run-mpremote-tests.sh tools/mpremote: Make sure stdout and stderr output appear in order. 2024-11-13 11:51:35 +11:00
test_eval_exec_run.sh tools/mpremote: Add initial regression tests for mpremote. 2024-10-09 16:39:00 +11:00
test_eval_exec_run.sh.exp tools/mpremote: Add initial regression tests for mpremote. 2024-10-09 16:39:00 +11:00
test_filesystem.sh tools/mpremote: Support trailing slash on dest for non-recursive copy. 2024-11-13 11:51:35 +11:00
test_filesystem.sh.exp tools/mpremote: Support trailing slash on dest for non-recursive copy. 2024-11-13 11:51:35 +11:00
test_mip_local_install.sh tools/mpremote: Add support for relative urls in package.json files. 2025-02-24 13:29:40 +11:00
test_mip_local_install.sh.exp tools/mpremote: Add support for relative urls in package.json files. 2025-02-24 13:29:40 +11:00
test_mount.sh tools/mpremote/tests: Add test for RemoteFile.readline. 2025-02-28 14:14:58 +11:00
test_mount.sh.exp tools/mpremote/tests: Add test for RemoteFile.readline. 2025-02-28 14:14:58 +11:00
test_recursive_cp.sh tools/mpremote: Add initial regression tests for mpremote. 2024-10-09 16:39:00 +11:00
test_recursive_cp.sh.exp tools/mpremote: Add initial regression tests for mpremote. 2024-10-09 16:39:00 +11:00
test_resume.sh tools/mpremote: Add initial regression tests for mpremote. 2024-10-09 16:39:00 +11:00
test_resume.sh.exp tools/mpremote: Add initial regression tests for mpremote. 2024-10-09 16:39:00 +11:00

Tests for mpremote

This directory contains a set of tests for mpremote.

Requirements:

  • A device running MicroPython connected to a serial port on the host.
  • Python 3.x, bash and various Unix tools such as find, mktemp, sed, sort, tr.

To run the tests do:

$ ./run-mpremote-tests.sh

Each test should print "OK" if it passed. Otherwise it will print "CRASH", or "FAIL" and a diff of the expected and actual test output.