summaryrefslogtreecommitdiff
path: root/tests/pke-test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pke-test.cpp')
-rw-r--r--tests/pke-test.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/pke-test.cpp b/tests/pke-test.cpp
index 2e9eb9d..3f6b43b 100644
--- a/tests/pke-test.cpp
+++ b/tests/pke-test.cpp
@@ -6,6 +6,7 @@
#include "./pke-test-serialization.h"
#include "./pke-test-static-ui.h"
+#include "entities.hpp"
#include "pk.h"
#include "unistd.h"
#include <stdio.h>
@@ -35,6 +36,12 @@ int main(int argc, char *argv[])
double group_ms;
pk_tmr func_tmr;
+ // global garbage data when dtor called on program exit
+ {
+ EntityType_Init();
+ EntityType_Teardown();
+ }
+
pke_test_get_group *group_fns[] = {
pke_test_dummy_get_group,
pke_test_static_ui_get_group,