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

Skip to content
Commit eb2fa846 authored by William Escande's avatar William Escande Committed by Chris Manton
Browse files

Mock static initialization order 03

cpp static order initialization is not guarantee.
In order to avoid the mess, we need to have a lazy init schema.
Replacing all custom getter with the function call:
```
sed -i 's|mock_function_count_map\[\("[A-Za-z_]*"\)\]|get_func_call_count(\1)|' $(rg mock_function_count_map -l)
```

Bug: 265217208
Test: atest --host
Change-Id: I849ab6c212d39cb0f2f03caa94320d5988b760b0
parent fdb0f415
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