Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 1ca8b969 authored by William Escande's avatar William Escande
Browse files

Mock static initialization order 07

cpp static order initialization is not guarantee.
In order to avoid the mess, we need to have a lazy init schema.
Replacing all mock_stack 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: I66c4be7432a651dd53e74e31181b778fc2c889b2
parent 22f75a70
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment