2021-10-01 00:21:50 +08:00
|
|
|
#include "gtest/gtest.h"
|
2022-05-19 20:52:19 +08:00
|
|
|
#include "test_common.h"
|
2021-10-01 00:21:50 +08:00
|
|
|
|
2021-11-16 16:25:22 +08:00
|
|
|
extern "C" {
|
|
|
|
#include "dataMemory.h"
|
2022-05-02 19:49:47 +08:00
|
|
|
#include "pika_config_gtest.h"
|
2021-11-16 16:25:22 +08:00
|
|
|
}
|
|
|
|
|
2021-10-01 00:21:50 +08:00
|
|
|
int main(int argc, char** argv) {
|
2022-05-02 19:49:47 +08:00
|
|
|
mem_pool_init();
|
2021-11-16 16:25:22 +08:00
|
|
|
::testing::InitGoogleTest(&argc, argv);
|
2022-05-02 19:55:02 +08:00
|
|
|
int res = RUN_ALL_TESTS();
|
|
|
|
mem_pool_deinit();
|
|
|
|
return res;
|
2021-10-01 00:21:50 +08:00
|
|
|
}
|