Skip to content

Commit

Permalink
Merge pull request #33 from hokeun/chanijjani-patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
chanijjani authored Feb 13, 2024
2 parents e7885bd + 7bb9a31 commit d9f2154
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,20 @@ cd lf-rust-rti/rust/rti
cargo run -- -n 2
```

## Current Status
## Run Rust RTI with Lingua Franca (LF) Test Programs

- Passing federated tests (lingua-franca/test/C/src/federated/) with Rust RTI:
1. Download and generate the LF test programs
- Download sources from https://github.com/lf-lang/lingua-franca
- Refer [https://www.lf-lang.org/docs/installation](https://www.lf-lang.org/docs/tools/code-extension)
2. Execute Rust RTI first
```
cargo run -- -n 2
```
3. Execute a LF test program
- ex) For HelloDistributed program, execute following commands in each shell.
```
lingua-franca/test/C/fed-gen/HelloDistributed/bin$ ./federate_s
lingua-franca/test/C/fed-gen/HelloDistributed/bin$ ./federate_d
```
Currently passing federated tests (lingua-franca/test/C/src/federated/) with Rust RTI: (to be updated)
- DistributedCount.lf, DistributedStop.lf, HelloDistributed.lf, PingPongDistibuted.lf, SimpleFederated.lf, StopAtShutdown.lf

0 comments on commit d9f2154

Please sign in to comment.