Skip to content

Commit

Permalink
docs(tests): fix typo
Browse files Browse the repository at this point in the history
Co-authored-by: Leonardo Grasso <me@leonardograsso.com>
Signed-off-by: Lorenzo Fontana <lo@linux.com>
  • Loading branch information
2 people authored and poiana committed May 14, 2020
1 parent d67b3f5 commit d0f4f7c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ When you want to test a new file or test a non tested file, remember four steps:

- The folder structure here is the same as the one in the `userspace` folder, so `userspace/engine` becomes `tests/engine`.
- We call test files with this format `test_<original-file-name>.cpp`
- Update the `CMakeLists.txt` file to include your file in `FALCO_TESTS_SOURCES` and change the `FALCO_TESTED_LIBRARIES` accordingly. You might aslo need to add dependencies, in that case, look at `target_link_libraries` and `target_include_directories`
- Update the `CMakeLists.txt` file to include your file in `FALCO_TESTS_SOURCES` and change the `FALCO_TESTED_LIBRARIES` accordingly. You might also need to add dependencies, in that case, look at `target_link_libraries` and `target_include_directories`
- If you are unsure on how to write tests, refer to our existing tests in this folder and to the [Catch2](https://github.com/catchorg/Catch2/tree/master/docs) documentation.

## How to execute tests
Expand Down Expand Up @@ -55,4 +55,3 @@ Once you are ready, you can run your configuration with:
```bash
make tests
```

0 comments on commit d0f4f7c

Please sign in to comment.