Files
meshcore_c/test/test_custom_runner.py
T
Scott Penrose 6a6b9dd567 native runner
2026-06-08 02:38:50 +10:00

18 lines
605 B
Python

# 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