mirror of
https://github.com/weechat/weechat.git
synced 2026-06-30 23:06:38 +02:00
tests: fix compilation with CppUTest ≥ 4.0
MemoryLeakWarningPlugin::turnOnNewDeleteOverloads is replaced by MemoryLeakWarningPlugin::turnOnThreadSafeNewDeleteOverloads, which is available in both CppUTest 3.x and 4.0.
This commit is contained in:
@@ -43,6 +43,7 @@ Tests::
|
||||
Build::
|
||||
|
||||
* core: disable debug by default in autotools build
|
||||
* tests: fix compilation with CppUTest ≥ 4.0
|
||||
|
||||
[[v2.9]]
|
||||
== Version 2.9 (2020-07-18)
|
||||
|
||||
@@ -273,7 +273,7 @@ TEST(Scripts, API)
|
||||
LONGS_EQUAL(0, api_tests_other);
|
||||
|
||||
if (turnoff_memleak)
|
||||
MemoryLeakWarningPlugin::turnOnNewDeleteOverloads();
|
||||
MemoryLeakWarningPlugin::turnOnThreadSafeNewDeleteOverloads();
|
||||
}
|
||||
|
||||
free (path_testapi_output_dir);
|
||||
|
||||
Reference in New Issue
Block a user