diff options
author | kcgen <kcgen@users.noreply.github.com> | 2022-03-27 05:54:28 +0300 |
---|---|---|
committer | kcgen <1557255+kcgen@users.noreply.github.com> | 2022-03-30 10:07:31 +0300 |
commit | 45c9e7835355ac185d08ebc61c4877d5d634cfaf (patch) | |
tree | f259932622e4ce2368a487dbd5ac9996d2d054cc /tests | |
parent | 3256b1e0f445d1843f7c5f21154b62f114d5d02f (diff) |
Explicitly exit DOSBox from the test fixture
Diffstat (limited to 'tests')
-rw-r--r-- | tests/dosbox_test_fixture.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/dosbox_test_fixture.h b/tests/dosbox_test_fixture.h index bc202b967..07e6f23b3 100644 --- a/tests/dosbox_test_fixture.h +++ b/tests/dosbox_test_fixture.h @@ -9,6 +9,7 @@ #define SDL_MAIN_HANDLED #include "control.h" +#include "video.h" class DOSBoxTestFixture : public ::testing::Test { public: @@ -52,6 +53,7 @@ public: std::vector<std::string>::reverse_iterator r = sections.rbegin(); for (; r != sections.rend(); ++r) control->GetSection(*r)->ExecuteDestroy(); + GFX_RequestExit(true); } private: |