On 02/17/2015 05:50 PM, Taras Kondratiuk wrote:
On 02/17/2015 04:42 PM, Maxim Uvarov wrote:
On 02/17/2015 04:11 PM, Mike Holmes wrote:


On 17 February 2015 at 07:57, Maxim Uvarov <maxim.uva...@linaro.org
<mailto:maxim.uva...@linaro.org>> wrote:

    I think that this patches need to go with tests together.


No problem, which tests are needed ?
The terminate functions are already called by all the unit tests in
the sunny day case so I could not think of anything to add.

I think just to test different scenarios, like

a)
global init
layer term
global  term

b)
global init
layer term
layer term
layer init
global term

c)
global init
global term
layer term

What are 'layer init' and 'layer term'?

like classification_init / classification_term, crypto_init, crypto_term and etc. It will be great to have a check that all these platform functions do not have resources leaks.



d)
loop of term and init functions as test for memory / resource leaks.

Current agreement is to have only one global init call per process, so
we can't run them in cycle.

So we can not call global_term / global_init in the loop?

Maxim.




_______________________________________________
lng-odp mailing list
lng-odp@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to