Re: [PATCH 06/22] tests/functional: introduce some helpful decorators

2024-12-02 Thread Daniel P . Berrangé
On Mon, Dec 02, 2024 at 09:27:34AM +0100, Thomas Huth wrote: > On 29/11/2024 18.31, Daniel P. Berrangé wrote: > > Reduce repeated boilerplate with some helper decorators: > > > > @skipIfNotPlatform("x86_64", "aarch64") > > > >=> Skip unless the build host platform matches > > > > @skipIf

Re: [PATCH 06/22] tests/functional: introduce some helpful decorators

2024-12-02 Thread Thomas Huth
On 29/11/2024 18.31, Daniel P. Berrangé wrote: Reduce repeated boilerplate with some helper decorators: @skipIfNotPlatform("x86_64", "aarch64") => Skip unless the build host platform matches @skipIfMissingCommands("mkisofs", "losetup") => Skips unless all listed commands are found i

[PATCH 06/22] tests/functional: introduce some helpful decorators

2024-11-29 Thread Daniel P . Berrangé
Reduce repeated boilerplate with some helper decorators: @skipIfNotPlatform("x86_64", "aarch64") => Skip unless the build host platform matches @skipIfMissingCommands("mkisofs", "losetup") => Skips unless all listed commands are found in $PATH @skipIfMissingImports("numpy", "cv2") =>