lf-lang / rust-rti

Other
3 stars 1 forks source link

Add Integration tests #25

Closed chanijjani closed 8 months ago

chanijjani commented 9 months ago

Test the public interfaces of our modules with any other external modules.

hokeun commented 9 months ago

yml file for CI tests in LF repoo: https://github.com/lf-lang/reactor-c/blob/main/.github/workflows/ci.yml Example run of CI tests: lf-default / regular-tests (ubuntu-latest)

chanijjani commented 9 months ago

Rust RTI replacement test result with an integration test case (HelloDistributed) in Lingua Franca (LF) LF_integration_test-HelloDistributed_with_rust_rti.txt

The above result is obtained by modifying HelloDistributed script (lingua-franca/test/C/bin/HelloDistributed) as follows.

cd /home/chani/Ubuntu/ASU/Hokeun/lf-rust-rti/rust/rti
# RTI -i ${FEDERATION_ID} \
cargo run -- -i ${FEDERATION_ID} \
                        -n 2 \
                        -c init \
&
# exchanges-per-interval 10 \
# &
chanijjani commented 8 months ago

https://github.com/chanijjani/lingua-franca/pull/1