Changeset View
Changeset View
Standalone View
Standalone View
tests/gtests/testing/testing_main.cc
| Show First 20 Lines • Show All 44 Lines • ▼ Show 20 Lines | |||||
| } | } | ||||
| } // namespace blender::tests | } // namespace blender::tests | ||||
| int main(int argc, char **argv) | int main(int argc, char **argv) | ||||
| { | { | ||||
| MEM_use_guarded_allocator(); | MEM_use_guarded_allocator(); | ||||
| MEM_init_memleak_detection(); | MEM_init_memleak_detection(); | ||||
| MEM_enable_fail_on_memleak(); | |||||
| testing::InitGoogleTest(&argc, argv); | testing::InitGoogleTest(&argc, argv); | ||||
| BLENDER_GFLAGS_NAMESPACE::ParseCommandLineFlags(&argc, &argv, true); | BLENDER_GFLAGS_NAMESPACE::ParseCommandLineFlags(&argc, &argv, true); | ||||
| google::InitGoogleLogging(argv[0]); | google::InitGoogleLogging(argv[0]); | ||||
| return RUN_ALL_TESTS(); | return RUN_ALL_TESTS(); | ||||
| } | } | ||||