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

y_testing mode broken due to line format change #508

Open
ArtUshak opened this issue Jul 29, 2023 · 1 comment
Open

y_testing mode broken due to line format change #508

ArtUshak opened this issue Jul 29, 2023 · 1 comment

Comments

@ArtUshak
Copy link

ArtUshak commented Jul 29, 2023

In y_testing 5.x report line format has changed (YSI_Core/y_testing/y_testing_entry.inc#L1205) and now includes check count and handles singular and plural words dependent on count.

Therefore, current regexp for test report (runtime/run.go#L26) no longer matches y_testing report lines, and sampctl hangs on test run.

Regexp for both new and old format would look like:

\*\*\* Test(?:s|): (\d+),(?: Check(?:s|): \d+,|) Fail(?:s|): (\d+)
@ADRFranklin
Copy link
Collaborator

Thank you for that information, I will make sure to update it in the next release.

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