native runner

This commit is contained in:
Scott Penrose
2026-06-08 02:38:50 +10:00
parent d64a59fd98
commit 6a6b9dd567
4 changed files with 49 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
# PlatformIO custom test runner for the host "native" environment.
#
# test_codec.c is a plain C program with its own main() that prints results and
# returns a non-zero exit code if any check fails. The "custom" test framework
# (set in platformio.ini) means PlatformIO does NOT inject Unity's main/runner;
# it just builds and runs our program and reports failure on a non-zero exit.
# This minimal subclass is all that's needed to wire that up.
#
# pio test -e native
#
# SPDX-License-Identifier: MIT
from platformio.public import TestRunnerBase
class CustomTestRunner(TestRunnerBase):
pass