Re: [PATCH v3 04/12] dts: add mechanism to skip test cases or suites

2024-09-05 Thread Jeremy Spewock
On Thu, Sep 5, 2024 at 5:23 AM Juraj Linkeš wrote: > >> +def _mark_results(self, result) -> None: > > > > Is it worth adding the type annotation for `result` here and to the > > other places where this is implemented? I guess it doesn't matter that > > much since it is a private method. > > >

Re: [PATCH v3 04/12] dts: add mechanism to skip test cases or suites

2024-09-05 Thread Juraj Linkeš
On 26. 8. 2024 18:52, Jeremy Spewock wrote: On Wed, Aug 21, 2024 at 10:53 AM Juraj Linkeš wrote: --- a/dts/framework/test_result.py +++ b/dts/framework/test_result.py @@ -75,6 +75,20 @@ def create_config(self) -> TestSuiteConfig: test_cases=[test_case.__name__ for test_case in

Re: [PATCH v3 04/12] dts: add mechanism to skip test cases or suites

2024-08-28 Thread Dean Marx
On Wed, Aug 21, 2024 at 10:53 AM Juraj Linkeš wrote: > If a test case is not relevant to the testing environment (such as when > a NIC doesn't support a tested feature), the framework should skip it. > The mechanism is a skeleton without actual logic that would set a test > case or suite to be sk

Re: [PATCH v3 04/12] dts: add mechanism to skip test cases or suites

2024-08-26 Thread Jeremy Spewock
On Wed, Aug 21, 2024 at 10:53 AM Juraj Linkeš wrote: > --- a/dts/framework/test_result.py > +++ b/dts/framework/test_result.py > @@ -75,6 +75,20 @@ def create_config(self) -> TestSuiteConfig: > test_cases=[test_case.__name__ for test_case in self.test_cases], > ) > > +@p

[PATCH v3 04/12] dts: add mechanism to skip test cases or suites

2024-08-21 Thread Juraj Linkeš
If a test case is not relevant to the testing environment (such as when a NIC doesn't support a tested feature), the framework should skip it. The mechanism is a skeleton without actual logic that would set a test case or suite to be skipped. The mechanism uses a protocol to extend test suites and