Closed t-b closed 1 year ago
From https://gitlab.byte-physics.de:4001/mirror/igortest/-/jobs/80005
$ exit $(grep -e "errors=\"[0-9]\+\"" -e "failures=\"[0-9]\+\"" tests/**/JU_*.xml | grep -cv "failures=\"0\" errors=\"0\"")
grep: tests/**/JU_*.xml: No such file or directory
IMHO the bash shell does not understand **
.
IMHO the bash shell does not understand
**
.
bash understands **
(source) and replaces it with the found files or directories. But if no files or directories are found it won't do something and grep print an error.
@Garados007
bash understands ** (source) and replaces it with the found files or directories. But if no files or directories are found it won't do something and grep print an error.
Thanks. Got it.
The failing job is now fixed but in https://gitlab.byte-physics.de:4001/mirror/igortest/-/jobs/81130 I still see
$ exit $(grep -e "errors=\"[0-9]\+\"" -e "failures=\"[0-9]\+\"" tests/**/JU_*.xml | grep -cv "failures=\"0\" errors=\"0\"")
grep: tests/**/JU_*.xml: No such file or directory
I fixed it in ~5ec8c9d (CI: fail execution if no JUnit file found, 2023-03-13).~ 4c4bd2e (CI: fail execution if no JUnit file found, 2023-03-13) (I forgot to add wc -l
).
Version: 977046d4 (Merge pull request #430 from byte-physics/mb/feature/tracing-inside-im, 2023-03-09) Env: Windows 10, IP9 r39863
When executing Tracing.pxp locally I get
@Garados007 Does that pass on your end? Why does CI then passes?