Skip to content

Commit

Permalink
Remove last references to Valgrind
Browse files Browse the repository at this point in the history
  • Loading branch information
mafik committed Dec 7, 2023
1 parent 4cb2a68 commit 891e453
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Update APT repositories
run: sudo apt update
- name: Install dependencies
run: sudo apt install -y valgrind inotify-tools
run: sudo apt install -y inotify-tools
- name: Run test
run: sudo --preserve-env=PATH ./run test_e2e
- name: Debug with tmate on failure
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ Install most recent LLVM & development tools with:

```bash
sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)"
sudo apt install -y valgrind inotify-tools
sudo apt install -y inotify-tools
```
</details>

Expand All @@ -255,7 +255,7 @@ LAN=<interface> ./run gatekeeper --live

There are three build variants of Gatekeeper: `gatekeeper`, `debug_gatekeeper` & `release_gatekeeper`. Use the default one (`gatekeeper`) for regular development since it's the fastest to build. When you need to debug crashes or memory leaks, `debug_gatekeeper` will offer you more debug information. Lastly `release_gatekeeper` is an optimized build with almost no debug information - this one is used for GitHub releases.

In [src/dev_commands.py](src/dev_commands.py) there are some special targets such as `./run gdb` or `./run valgrind`. There is a bunch of tests in functions that start with `test_` that you might find interesting. Some of the targets in that file (`dogfood`, `net_reset`) are specific to my setup but should be fairly clear and pliable to customization.
In [src/dev_commands.py](src/dev_commands.py) there are some special targets such as `./run gdb` or `./run test_e2e`. There is a bunch of tests in functions that start with `test_` that you might find interesting. Some of the targets in that file (`dogfood`, `net_reset`) are specific to my setup but should be fairly clear and pliable to customization.

Run an end-to-end test. It sets up a virtual LAN & checks whether its properly managed by Gatekeeper.
```bash
Expand Down

0 comments on commit 891e453

Please sign in to comment.