Re: [yocto] oeqa: test cases at the end of the test suite

2021-01-04 Thread Ross Burton
On Mon, 4 Jan 2021 at 10:50, Konrad Weihmann wrote: > I have a few oeqa test cases, which always should run last in a test > suite (log and file collectors for instance). Those are not test cases then, surely. If you want to run actions after test cases to collect log files then I'd implement

Re: [yocto] oeqa: test cases at the end of the test suite

2021-01-04 Thread Alexander Kanavin
I'd say improving the actual test ordering function is the way to go, yes. Not sure how the ordering 'hint' should be like, but maybe setting an integer priority via a decorator would work: @OETestPriority(1) ---> runs first, no guarantees about relative order of other tests with priority 1.