Related docs:

Purpose

../../tests/run_tests.py is the repository’s source-suite runner.

It compiles categorized .mstr suites with ../../build/maestroc, runs selected modules through ../../build/hostrun, captures output, and checks expected results.

Synopsis

python3 tests/run_tests.py [MODULE...]
python3 tests/run_tests.py --deep [MODULE...]

Behavior

  • without --deep, runs the categorized shallow source suites
  • with --deep, runs heavier integration and bundle suites
  • positional arguments filter the run to specific space-separated module paths
  • prints result, stdout, and stderr for each executed case

Examples

Run the full categorized suite:

python3 tests/run_tests.py

Run one shallow case:

python3 tests/run_tests.py "tests modules caller"

Run the deep bundle suite:

python3 tests/run_tests.py --deep "tests bundles alpha"