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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 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
> > made that the program under test failed as expected, the test in itself is
> > successful and should be recorded as such.
> 
> Could you please elaborate what the problem is? The wording of the

I've re-read this and it ineed seems that just the wording is the issue.

I'm not sold that we need a script to bypass the return value just for
meson to say "OK".



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux