diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2020-01-25 01:27:29 -0700 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2020-01-25 09:27:29 +0100 |
commit | 981ffc912e1ef59a5fc74ee8fb769592b8cb1616 (patch) | |
tree | f123094756751b1fd51bbb8efff87ac369cb1de3 /tests/destructor | |
parent | 4cbeddddcc4cde2fb467bb7a3a30114474ae1565 (diff) | |
download | Nim-981ffc912e1ef59a5fc74ee8fb769592b8cb1616.tar.gz |
contributing docs: symbols need package prefix; changed allocStats to nimAllocStats (#13247)
Diffstat (limited to 'tests/destructor')
-rw-r--r-- | tests/destructor/tbintree2.nim | 2 | ||||
-rw-r--r-- | tests/destructor/tgcdestructors.nim | 2 | ||||
-rw-r--r-- | tests/destructor/tnewruntime_misc.nim | 2 | ||||
-rw-r--r-- | tests/destructor/tnewruntime_strutils.nim | 2 | ||||
-rw-r--r-- | tests/destructor/tsimpleclosure.nim | 2 | ||||
-rw-r--r-- | tests/destructor/tv2_raise.nim | 2 | ||||
-rw-r--r-- | tests/destructor/twidgets.nim | 2 | ||||
-rw-r--r-- | tests/destructor/twidgets_unown.nim | 2 |
8 files changed, 8 insertions, 8 deletions
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)''' |