summaryrefslogtreecommitdiff
path: root/tests/cmdline/cmd_compile_only_error.py
AgeCommit message (Collapse)Author
2 daysshared/runtime/pyexec: Provide support for compile-only mode.Andrew Leech
When `MICROPY_PYEXEC_COMPILE_ONLY` is enabled and the global `mp_compile_only` is True, code is compiled but not executed. Also add comprehensive tests for compile-only functionality covering both successful compilation and syntax error detection. Signed-off-by: Andrew Leech <andrew.leech@planetinnovation.com.au>