summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2019-11-18 09:10:48 +0100
committerGitHub <noreply@github.com>2019-11-18 09:10:48 +0100
commit223e65e52995d4243c04b5240109d12b6dc95fa2 (patch)
tree6c7dd623a716ab34e2a58b750f0de713b45e4bd0 /tests
parent58f3e07b1a84b2cbe1c1fab690b8dd6b9ed5a296 (diff)
downloadNim-223e65e52995d4243c04b5240109d12b6dc95fa2.tar.gz
attempt to add valgrind support to the CIs and testament (#12646)
* attempt to add valgrind support to the CIs and testament

* valgrind (currently) works only on 64-bit Linux
Diffstat (limited to 'tests')
-rw-r--r--tests/valgrind/tbasic_valgrind.nim6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/valgrind/tbasic_valgrind.nim b/tests/valgrind/tbasic_valgrind.nim
new file mode 100644
index 000000000..455b1ff17
--- /dev/null
+++ b/tests/valgrind/tbasic_valgrind.nim
@@ -0,0 +1,6 @@
+discard """
+  valgrind: true
+  cmd: "nim c --gc:destructors $file"
+"""
+
+echo "hello world"