Re: [PATCH] tests: Record negative tests as pass instead of expected-fail

2025-02-10 Thread Daniel P . Berrangé
On Mon, Feb 10, 2025 at 01:57:51PM +0100, Peter Krempa wrote: > On Mon, Feb 10, 2025 at 12:58:06 +0100, Tim Wiederhake wrote: > > On Mon, 2025-02-10 at 12:44 +0100, Peter Krempa wrote: > > > On Mon, Feb 10, 2025 at 11:30:24 +0100, Peter Krempa wrote: > > > > On Mon, Feb 10, 2025 at 11:25:55 +0100,

Re: [PATCH] tests: Record negative tests as pass instead of expected-fail

2025-02-10 Thread Peter Krempa
On Mon, Feb 10, 2025 at 12:58:06 +0100, Tim Wiederhake wrote: > On Mon, 2025-02-10 at 12:44 +0100, Peter Krempa wrote: > > On Mon, Feb 10, 2025 at 11:30:24 +0100, Peter Krempa wrote: > > > On Mon, Feb 10, 2025 at 11:25:55 +0100, Tim Wiederhake wrote: > > > > meson's "test()" function provides a "sh

Re: [PATCH] tests: Record negative tests as pass instead of expected-fail

2025-02-10 Thread Tim Wiederhake
On Mon, 2025-02-10 at 12:44 +0100, Peter Krempa wrote: > On Mon, Feb 10, 2025 at 11:30:24 +0100, Peter Krempa wrote: > > On Mon, Feb 10, 2025 at 11:25:55 +0100, Tim Wiederhake wrote: > > > meson's "test()" function provides a "should_fail: bool" argument > > > that > > > checks for a command to exi

Re: [PATCH] tests: Record negative tests as pass instead of expected-fail

2025-02-10 Thread Peter Krempa
On Mon, Feb 10, 2025 at 11:30:24 +0100, Peter Krempa wrote: > On Mon, Feb 10, 2025 at 11:25:55 +0100, Tim Wiederhake wrote: > > meson's "test()" function provides a "should_fail: bool" argument that > > checks for a command to exit with a non-zero exit code instead of the usual > > zero exit code t

Re: [PATCH] tests: Record negative tests as pass instead of expected-fail

2025-02-10 Thread Peter Krempa
On Mon, Feb 10, 2025 at 11:25:55 +0100, Tim Wiederhake wrote: > meson's "test()" function provides a "should_fail: bool" argument that > checks for a command to exit with a non-zero exit code instead of the usual > zero exit code to signal success. If the program under test does so, it is > recorde

[PATCH] tests: Record negative tests as pass instead of expected-fail

2025-02-10 Thread Tim Wiederhake
meson's "test()" function provides a "should_fail: bool" argument that checks for a command to exit with a non-zero exit code instead of the usual zero exit code to signal success. If the program under test does so, it is recorded as "EXPECTEDFAIL" instead of "OK". While there is an argument to be