Skip to main content

Module runner

Module runner 

Expand description

Execution helpers for parity examples.

ConstantsΒ§

FACADE_MANIFEST πŸ”’
The facade’s manifest, where an example declares the features it needs.

FunctionsΒ§

capture πŸ”’
Runs a command, requiring exit 0 and returning its stdout.
cargo_example πŸ”’
Runs cargo run -q -p atune --example <name> and returns its stdout.
python_origin πŸ”’
How a Python arm’s failure names itself.
python_program πŸ”’
The Python interpreter to drive the Python arms with.
required_features πŸ”’
The features an example declares through [[example]] required-features.
run_examples
Runs every example under examples/rust/.
run_python_arm πŸ”’
Runs a Python arm and returns its stdout.
run_rust_arm πŸ”’
Runs a Rust arm and returns its stdout.
rust_origin πŸ”’
How a Rust arm’s failure names itself.