Mock static initialization order 06
cpp static order initialization is not guarantee. In order to avoid the mess, we need to have a lazy init schema. Replacing all mock_main extern with the correct header ``` 's|extern std::map<std::string, int> mock_function_count_map;|#include "test/common/mock_functions.h"|' ``` Bug: 265217208 Test: atest --host Change-Id: I3a174f6c9438e16f8cfff6a4d3fcbe71bb78d0d9
Loading
Please register or sign in to comment