Re: [PATCH v4 02/11] dts: add test case decorators

2024-09-27 Thread Luca Vizzarro
Reviewed-by: Luca Vizzarro

Re: [PATCH v4 02/11] dts: add test case decorators

2024-09-24 Thread Juraj Linkeš
On 23. 9. 2024 21:26, Jeremy Spewock wrote: One super nit-pick comment below, even without that though I still think this looks good. Reviewed-by: Jeremy Spewock On Mon, Sep 23, 2024 at 11:02 AM Juraj Linkeš wrote: +def is_test_case(function: Callable) -> bool: +if i

Re: [PATCH v4 02/11] dts: add test case decorators

2024-09-23 Thread Jeremy Spewock
One super nit-pick comment below, even without that though I still think this looks good. Reviewed-by: Jeremy Spewock On Mon, Sep 23, 2024 at 11:02 AM Juraj Linkeš wrote: > +def is_test_case(function: Callable) -> bool: > +if inspect.isfunction(function): > +

[PATCH v4 02/11] dts: add test case decorators

2024-09-23 Thread Juraj Linkeš
Add decorators for functional and performance test cases. These decorators add attributes to the decorated test cases. With the addition of decorators, we change the test case discovery mechanism from looking at test case names according to a regex to simply checking an attribute of the function a