summary refs log tree commit diff stats
path: root/doc
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 /doc
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 'doc')
-rw-r--r--doc/testament.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/testament.rst b/doc/testament.rst
index d515ac2cb..1b2b71c18 100644
--- a/doc/testament.rst
+++ b/doc/testament.rst
@@ -103,6 +103,11 @@ Example "template" **to edit** and write a Testament unittest:
     target: "c js"    # Targets to run the test into (C, C++, JavaScript, etc).
 
     disabled: "bsd"   # Disable the test by condition, here BSD is disabled just as an example.
+    disabled: "win"   # Can disable multiple OSes at once
+    disabled: "32bit" # ...or architectures
+    disabled: "i386"
+    disabled: "azure" # ...or pipeline runners
+    disabled: true    # ...or can disable the test entirely
 
   """
   assert true