Skip to content

Commit

Permalink
Use --mm:orc -d:useMalloc with Valgrind in order to avoid false posit…
Browse files Browse the repository at this point in the history
…ives.
  • Loading branch information
noahehall committed Mar 15, 2023
1 parent 7217a54 commit bf88f65
Show file tree
Hide file tree
Showing 3 changed files with 88 additions and 15 deletions.
99 changes: 85 additions & 14 deletions testresults.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions tests/config.nims
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
--define:nimPreviewJsonutilsHoleyEnum
--define:nimUnittestColor:off
--define:nimUnittestOutputLevel:PRINT_FAILURES
--define:useMalloc # required for valgrind
--excessiveStackTrace:off
--mm:orc # required for valgrind
--path:"$projectDir/../../src"
--processing:off
2 changes: 1 addition & 1 deletion tests/config/tconfig.nim
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
discard """
action: "run"
valgrind: "leaks"
valgrind: true
exitcode: 0
"""

Expand Down

0 comments on commit bf88f65

Please sign in to comment.