Re: [U-Boot] [PATCH 3/9] test.py: calculate bad patterns on change only

2016-01-28 Thread Simon Glass
On 28 January 2016 at 20:47, Simon Glass wrote: > On 27 January 2016 at 23:57, Stephen Warren wrote: >> From: Stephen Warren >> >> 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 simpl

Re: [U-Boot] [PATCH 3/9] test.py: calculate bad patterns on change only

2016-01-28 Thread Simon Glass
On 27 January 2016 at 23:57, Stephen Warren wrote: > From: Stephen Warren > > 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

[U-Boot] [PATCH 3/9] test.py: calculate bad patterns on change only

2016-01-27 Thread Stephen Warren
From: Stephen Warren 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 re