Skip to content

Commit 11f9f94

Browse files
committed
skip signal handler in alloc-counting tests
1 parent abea2b2 commit 11f9f94

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/destructor/tgotoexc_leak.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
discard """
22
output: '''0
33
true'''
4-
cmd: "nim c --gc:arc $file"
4+
cmd: "nim c --gc:arc -d:noSignalHandler $file"
55
"""
66

77
# bug #22398

tests/destructor/tsimpleclosure.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
discard """
2-
cmd: '''nim c -d:nimAllocStats --gc:arc $file'''
2+
cmd: '''nim c -d:nimAllocStats -d:noSignalHandler --gc:arc $file'''
33
output: '''a b
44
70
55
hello

tests/destructor/tv2_raise.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
discard """
22
valgrind: true
3-
cmd: '''nim c -d:nimAllocStats --newruntime $file'''
3+
cmd: '''nim c -d:nimAllocStats -d:noSignalHandler --newruntime $file'''
44
output: '''OK 3
55
(allocCount: 7, deallocCount: 4)'''
66
"""

0 commit comments

Comments
 (0)