From 981ffc912e1ef59a5fc74ee8fb769592b8cb1616 Mon Sep 17 00:00:00 2001 From: Timothee Cour Date: Sat, 25 Jan 2020 01:27:29 -0700 Subject: contributing docs: symbols need package prefix; changed allocStats to nimAllocStats (#13247) --- tests/destructor/tbintree2.nim | 2 +- tests/destructor/tgcdestructors.nim | 2 +- tests/destructor/tnewruntime_misc.nim | 2 +- tests/destructor/tnewruntime_strutils.nim | 2 +- tests/destructor/tsimpleclosure.nim | 2 +- tests/destructor/tv2_raise.nim | 2 +- tests/destructor/twidgets.nim | 2 +- tests/destructor/twidgets_unown.nim | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) (limited to 'tests/destructor') diff --git a/tests/destructor/tbintree2.nim b/tests/destructor/tbintree2.nim index 6c9047b9a..e910f430a 100644 --- a/tests/destructor/tbintree2.nim +++ b/tests/destructor/tbintree2.nim @@ -1,5 +1,5 @@ discard """ - cmd: '''nim c -d:allocStats --newruntime $file''' + cmd: '''nim c -d:nimAllocStats --newruntime $file''' output: '''0 (allocCount: 6, deallocCount: 6)''' """ diff --git a/tests/destructor/tgcdestructors.nim b/tests/destructor/tgcdestructors.nim index c63060af5..7169daaf1 100644 --- a/tests/destructor/tgcdestructors.nim +++ b/tests/destructor/tgcdestructors.nim @@ -1,5 +1,5 @@ discard """ - cmd: '''nim c -d:allocStats --newruntime $file''' + cmd: '''nim c -d:nimAllocStats --newruntime $file''' output: '''hi ho ha diff --git a/tests/destructor/tnewruntime_misc.nim b/tests/destructor/tnewruntime_misc.nim index 7522bc168..263ea1bd4 100644 --- a/tests/destructor/tnewruntime_misc.nim +++ b/tests/destructor/tnewruntime_misc.nim @@ -1,5 +1,5 @@ discard """ - cmd: '''nim cpp -d:allocStats --newruntime --threads:on $file''' + cmd: '''nim cpp -d:nimAllocStats --newruntime --threads:on $file''' output: '''(field: "value") Indeed axc diff --git a/tests/destructor/tnewruntime_strutils.nim b/tests/destructor/tnewruntime_strutils.nim index 27c5a77d5..9afb507f7 100644 --- a/tests/destructor/tnewruntime_strutils.nim +++ b/tests/destructor/tnewruntime_strutils.nim @@ -1,6 +1,6 @@ discard """ valgrind: true - cmd: '''nim c -d:allocStats --newruntime -d:useMalloc $file''' + cmd: '''nim c -d:nimAllocStats --newruntime -d:useMalloc $file''' output: ''' @[(input: @["KXSC", "BGMC"]), (input: @["PXFX"]), (input: @["WXRQ", "ZSCZD"])]''' """ diff --git a/tests/destructor/tsimpleclosure.nim b/tests/destructor/tsimpleclosure.nim index bebd1fe72..4916f4bab 100644 --- a/tests/destructor/tsimpleclosure.nim +++ b/tests/destructor/tsimpleclosure.nim @@ -1,5 +1,5 @@ discard """ - cmd: '''nim c -d:allocStats --newruntime $file''' + cmd: '''nim c -d:nimAllocStats --newruntime $file''' output: '''a b 70 hello diff --git a/tests/destructor/tv2_raise.nim b/tests/destructor/tv2_raise.nim index ed5364923..828d0a396 100644 --- a/tests/destructor/tv2_raise.nim +++ b/tests/destructor/tv2_raise.nim @@ -1,6 +1,6 @@ discard """ valgrind: true - cmd: '''nim c -d:allocStats --newruntime $file''' + cmd: '''nim c -d:nimAllocStats --newruntime $file''' output: '''OK 3 (allocCount: 8, deallocCount: 3)''' """ diff --git a/tests/destructor/twidgets.nim b/tests/destructor/twidgets.nim index 4f32ebfa6..f13868110 100644 --- a/tests/destructor/twidgets.nim +++ b/tests/destructor/twidgets.nim @@ -1,5 +1,5 @@ discard """ - cmd: '''nim c -d:allocstats --newruntime $file''' + cmd: '''nim c -d:nimAllocStats --newruntime $file''' output: '''button clicked! (allocCount: 4, deallocCount: 4)''' diff --git a/tests/destructor/twidgets_unown.nim b/tests/destructor/twidgets_unown.nim index 333181307..1d2f26f2a 100644 --- a/tests/destructor/twidgets_unown.nim +++ b/tests/destructor/twidgets_unown.nim @@ -1,5 +1,5 @@ discard """ - cmd: '''nim c -d:allocStats --newruntime $file''' + cmd: '''nim c -d:nimAllocStats --newruntime $file''' output: '''button clicked! (allocCount: 9, deallocCount: 9)''' -- cgit 1.4.1-2-gfad0