Commit 4c65c30
test: Run unittests in debug mode
Running unittests in debug mode gives us greater correctness guarantees,
since `debug_assert!`s will be triggered. These are often used to
perform "sanity checks" that are supposed to get compiled out in release
mode for performance reasons. Additionally, our coverage test runs in
debug bug, so this will make the behavior between the two tests
consistent (whereas otherwise a failure of one but not the other due to
a debug assertion will be confusing).
Signed-off-by: Patrick Roy <roypat@amazon.co.uk>1 parent e97aba7 commit 4c65c30
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
21 | | - | |
| 23 | + | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
| |||
0 commit comments