mirror of
https://codeberg.org/andyscott/marCsweep.git
synced 2024-11-09 13:50:51 -05:00
README: add instructions for running the compiled program
This commit is contained in:
parent
dcc62257b3
commit
7a60c424be
1 changed files with 22 additions and 0 deletions
22
README.md
22
README.md
|
@ -22,6 +22,28 @@ make release
|
||||||
That's it! The Makefile will automatically create the build directory and place
|
That's it! The Makefile will automatically create the build directory and place
|
||||||
the compiled executable there.
|
the compiled executable there.
|
||||||
|
|
||||||
|
## Running
|
||||||
|
|
||||||
|
Once compiled, the program can be run with the following:
|
||||||
|
|
||||||
|
```
|
||||||
|
cd build # or debug
|
||||||
|
|
||||||
|
./gc
|
||||||
|
```
|
||||||
|
|
||||||
|
By default the program will output the results of the test cases:
|
||||||
|
|
||||||
|
> test_int_alloc: PASS
|
||||||
|
> test_pair_alloc: PASS
|
||||||
|
> test_obj_count: PASS
|
||||||
|
> test_pair_alloc: PASS
|
||||||
|
> test_unreachable: PASS
|
||||||
|
> test_auto_gc: PASS
|
||||||
|
|
||||||
|
If all six tests pass, then the library compiles correctly on your system and
|
||||||
|
should be ready for experimentation!
|
||||||
|
|
||||||
## Notes
|
## Notes
|
||||||
|
|
||||||
This is a personal project that I am writing in my free time to learn more about
|
This is a personal project that I am writing in my free time to learn more about
|
||||||
|
|
Loading…
Reference in a new issue