1
0
forked from 0ad/0ad

Removes wdbg_heap from tests following 7782aa95f1.

This was SVN commit r27714.
This commit is contained in:
Vladislav Belov 2023-06-16 16:44:21 +00:00
parent e2fb23731c
commit ea1c6a8d11

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2021 Wildfire Games. /* Copyright (C) 2023 Wildfire Games.
* This file is part of 0 A.D. * This file is part of 0 A.D.
* *
* 0 A.D. is free software: you can redistribute it and/or modify * 0 A.D. is free software: you can redistribute it and/or modify
@ -29,10 +29,6 @@
#include "lib/self_test.h" #include "lib/self_test.h"
#include <cxxtest/GlobalFixture.h> #include <cxxtest/GlobalFixture.h>
#if OS_WIN
#include "lib/sysdep/os/win/wdbg_heap.h"
#endif
#include "lib/timer.h" #include "lib/timer.h"
#include "lib/sysdep/sysdep.h" #include "lib/sysdep/sysdep.h"
#include "ps/Profiler2.h" #include "ps/Profiler2.h"
@ -46,12 +42,6 @@ class LeakReporter : public CxxTest::GlobalFixture
{ {
virtual bool tearDownWorld() virtual bool tearDownWorld()
{ {
// Enable leak reporting on exit.
// (This is done in tearDownWorld so that it doesn't report 'leaks'
// if the program is aborted before finishing cleanly.)
#if OS_WIN
wdbg_heap_Enable(true);
#endif
return true; return true;
} }