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

Commit e9b6945d authored by William Escande's avatar William Escande
Browse files

Mock static initialization order 19

cpp static order initialization is not guarantee.
In order to avoid the mess, we need to have a lazy init schema.
Replacing all mock incrementation in mock_stack*
```
's|mock_function_count_map\[__func__\]++|inc_func_call_count(__func__)|'
```

Bug: 265217208
Test: atest --host
Change-Id: I36d81ecd86dca2418d88dd4a34003a7261df550a
(cherry picked from commit e6641443a795dd64b0f816fc5b3e30908908cc67)
parent 0c12d500
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