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

Finding tests using wildcards doesn't work on macOS (or zsh)? #270

Open
sampotter opened this issue Jul 17, 2021 · 1 comment
Open

Finding tests using wildcards doesn't work on macOS (or zsh)? #270

sampotter opened this issue Jul 17, 2021 · 1 comment

Comments

@sampotter
Copy link

Trying to use the wildcard feature described in this section of the cgreen manual, but it doesn't seem to work for my setup. I'm using zsh under macOS 10.15.7. I'm testing a library of mine, jmm, using my own branch of cgreen, but I haven't done anything to modify this part of cgreen in my branch. I have a test called eik3:olim18_222_is_symmetric, along with some other tests under the eik3 test suite. Compare the output of the following:

(jmm) sfp@Samuels-MacBook-Pro-2 build % cgreen-runner libjmm_tests.dylib eik3:olim18_222_is_symmetric
Running "libjmm_tests" (1 test)...

with

(jmm) sfp@Samuels-MacBook-Pro-2 build % cgreen-runner libjmm_tests.dylib eik3:*
zsh: no matches found: eik3:*

I guess the wildcard functionality is implemented using "the shell", and this doesn't work for zsh for some reason?

@thoni56
Copy link
Contributor

thoni56 commented Jul 18, 2021

Zsh has a completely different mechanism for completions if I remember correctly and has not been addressed at all.

Should probably be documented though.

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

2 participants