Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow skipping tests using pytest-style arguments/DSL #10973

Open
thesamesam opened this issue Oct 31, 2022 · 1 comment
Open

Allow skipping tests using pytest-style arguments/DSL #10973

thesamesam opened this issue Oct 31, 2022 · 1 comment

Comments

@thesamesam
Copy link
Contributor

thesamesam commented Oct 31, 2022

Describe the bug

It's not possible to easily select tests to skip from the command line when invoking meson test.

For example, Pango has some precision tests which we downstream in Gentoo expect to fail on 32-bit architectures like x86 (https://bugs.gentoo.org/836317). We want to skip certain tests for one of two builds done using the same source dir (obviously Meson does out-of-source builds) but can't.

I had a brief discussion with @eli-schwartz about it and it was suggested that meson might be able to support pytest's nice DSL for selecting/deselecting tests, e.g. pytest -k "not foo".

@thesamesam
Copy link
Contributor Author

thesamesam commented Mar 29, 2023

Maybe a dupe of #6999. This syntax is being discussed in #11502 anyhow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant