diff options
| author | Stephen Warren <[email protected]> | 2016-01-27 23:57:48 -0700 |
|---|---|---|
| committer | Simon Glass <[email protected]> | 2016-01-28 21:01:24 -0700 |
| commit | e4119ebb6dabf9bc84914b648f81c2f1b8fe76e1 (patch) | |
| tree | 3a1c2bf9f48d6a7487a83cb76646c72909ac0263 /scripts | |
| parent | 44ac762b1437b274daf9e6f2dc924088b6332a54 (diff) | |
test.py: calculate bad patterns on change only
A future patch will use the bad_patterns array in multiple places. Rather
than duplicating the code to calculate it, or even sharing it in a
function and simply calling it redundantly when nothing has changed, only
re-calculate the list when some change is made to it. This reduces work.
Signed-off-by: Stephen Warren <[email protected]>
Acked-by: Simon Glass <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
