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

Update README.md - Using ninja test command #954

Merged
merged 1 commit into from
Jun 4, 2024

Conversation

NkosenhleDuma
Copy link
Contributor

I believe the intended command was ninja.
meson -C ... gives:

meson -C builddir test
usage: meson [-h] {setup,configure,dist,install,introspect,init,test,wrap,subprojects,rewrite,compile,devenv,env2mfile,help} ...
meson: error: unrecognized arguments: -C

Whereas ninja -C builddir test gives:

ninja: Entering directory `builddir'
[0/1] Running all tests.
1/6 piper / validate appdata file        OK              0.02s
2/6 piper / python-ruff-check            SKIP            0.01s   exit status 77
3/6 piper / svg-lookup-check             OK              0.04s
4/6 piper:all / files-in-git             OK              0.08s
5/6 piper / check-svg                    OK              0.09s
6/6 piper / python-black-check           OK              0.32s

Ok:                 5   
Expected Fail:      0   
Fail:               0   
Unexpected Pass:    0   
Skipped:            1   
Timeout:            0   

Full log written to /home/ratbag/Workspace/piper/builddir/meson-logs/testlog.txt

I believe the intended command was `ninja`.
`meson -C ...` gives:
```
meson -C builddir test
usage: meson [-h] {setup,configure,dist,install,introspect,init,test,wrap,subprojects,rewrite,compile,devenv,env2mfile,help} ...
meson: error: unrecognized arguments: -C
```

Whereas `ninja -C builddir test` gives:
```
ninja: Entering directory `builddir'
[0/1] Running all tests.
1/6 piper / validate appdata file        OK              0.02s
2/6 piper / python-ruff-check            SKIP            0.01s   exit status 77
3/6 piper / svg-lookup-check             OK              0.04s
4/6 piper:all / files-in-git             OK              0.08s
5/6 piper / check-svg                    OK              0.09s
6/6 piper / python-black-check           OK              0.32s

Ok:                 5   
Expected Fail:      0   
Fail:               0   
Unexpected Pass:    0   
Skipped:            1   
Timeout:            0   

Full log written to /home/ratbag/Workspace/piper/builddir/meson-logs/testlog.txt
```
@staticssleever668 staticssleever668 merged commit efa2712 into libratbag:master Jun 4, 2024
4 checks passed
@staticssleever668
Copy link
Member

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants