Skip to content

Commit

Permalink
Update README with invocation script usage
Browse files Browse the repository at this point in the history
  • Loading branch information
MahadMuhammad committed Sep 14, 2024
1 parent 34f75bd commit e272369
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# rusttest-to-dg

Converts `rustc` testcases into dejagnu testcases for `gccrs`

# Usage

This tool was invoked by the script [run](./run.sh). Furthermore, we need the rustc and gccrs source code to be downloaded on the system. And add their paths to the environment variables `GCCRS_PATH`, `RUST_PATH` and `RUSTTEST_TO_DG_PATH`

```bash
export GCCRS_PATH=/path/to/gccrs
export RUST_PATH=/path/to/rust
export RUSTTEST_TO_DG_PATH=/path/to/rusttest-to-dg
```

Then, simply run the script [run](./run.sh)

```bash
bash run.sh
```

0 comments on commit e272369

Please sign in to comment.