summary refs log tree commit diff stats
path: root/tests/arc/thavlak_orc_stress.nim
diff options
context:
space:
mode:
authorn5m <72841454+n5m@users.noreply.github.com>2020-10-19 20:25:43 +0000
committerGitHub <noreply@github.com>2020-10-19 22:25:43 +0200
commit436e1fa5b13d0a5b667a800b1716e5139f1c20fe (patch)
tree93be0c4875d5aa239788ebfa2f15e5c3ddfb42c4 /tests/arc/thavlak_orc_stress.nim
parent833035bacd91c2cf16ea006b64bf996e87eac75d (diff)
downloadNim-436e1fa5b13d0a5b667a800b1716e5139f1c20fe.tar.gz
fix #15631 (#15632)
* trigger valgrind failure on memory leak

* remove non-malloc tests

* remove ORC test

is redundant because we already have an ARC test

* only run valgrind tests on 64-bit Linux

* disable freebsd and openbsd

* Remove tleak_refc

As to not test implementation details (or bug)

* Fix test failures by removing redundant test

Since this tests/shoulfail/tvalgrind.nim was specified here to fail this test
itself fails since it will be skipped on non-linux CI

* Remove test, reason detailed in the previous commit

* Remove redundant disables

* Revert removing disables

* Add and use valgrind: leaks

* Fix

Co-authored-by: Clyybber <darkmine956@gmail.com>
Co-authored-by: n5m
Diffstat (limited to 'tests/arc/thavlak_orc_stress.nim')
-rw-r--r--tests/arc/thavlak_orc_stress.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/arc/thavlak_orc_stress.nim b/tests/arc/thavlak_orc_stress.nim
index 3c61f10ef..862e1a097 100644
--- a/tests/arc/thavlak_orc_stress.nim
+++ b/tests/arc/thavlak_orc_stress.nim
@@ -1,6 +1,6 @@
 discard """
   cmd: "nim c --gc:orc -d:useMalloc -d:nimStressOrc $file"
-  valgrind: "true"
+  valgrind: "leaks"
   output: "done"
 """