These tests are specifically for the command-line interface and cover: - resume/soft-reset/connect/disconnect - mount - fs cp,touch,mkdir,cat,sha256sum,rm,rmdir - eval/exec/run This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com> Signed-off-by: Damien George <damien@micropython.org> |
||
|---|---|---|
| .. | ||
| README.md | ||
| run-mpremote-tests.sh | ||
| test_eval_exec_run.sh | ||
| test_eval_exec_run.sh.exp | ||
| test_filesystem.sh | ||
| test_filesystem.sh.exp | ||
| test_mount.sh | ||
| test_mount.sh.exp | ||
| test_recursive_cp.sh | ||
| test_recursive_cp.sh.exp | ||
| test_resume.sh | ||
| test_resume.sh.exp | ||
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,
bashand various Unix tools such asfind,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.