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

Context operator != matching not defined dimension #179

Open
kkaarreell opened this issue Jul 19, 2022 · 0 comments
Open

Context operator != matching not defined dimension #179

kkaarreell opened this issue Jul 19, 2022 · 0 comments

Comments

@kkaarreell
Copy link

In my test I have

adjust:
  - when: swtpm != yes
    enabled: false
    because: This tests works only with SWTPM emulator

However when scheduling tests with swtpm not being defined the test is included.
To fix that I have to use

adjust:
  - when: swtpm is not defined or swtpm != yes
    enabled: false
    because: This tests works only with SWTPM emulator

but this seems unnecessary complicated and operator != (and some other operators) should have more intuitive behavior when dimension is not defined.

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