-
Notifications
You must be signed in to change notification settings - Fork 15
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
zef install readline
fails with --tap-harness
#60
Comments
Thanks for the report, but I'm not totally sure it belongs to this repo. Sure, this is what fails, but wouldn't it be convenient to, at least, raise a similar issue in |
TAP::Harness is a bit stricter on valid subtests than most other parsers. I suspect that the verbose output of the tests would reveal the real issue. |
I have this gist: https://gist.github.com/jaguart/8ace1402c02d85a9d0e5144704f30cd1 Which probably doesn't show what you want to actually see. When it hit's the subtest that is failing, you can see that there are 3 x ok messages. At the end though, it fails with:
So at the end TAP think's it ran 2 tests, even though the terminal shows 3 ok's Somehow the call to VT100 |
ok, so this test emits control chars:
Interestingly it's the only test that does this. |
Some PR coming from the non-usual computer what uses Windows, maybe. It's invisible in the review, so there you go... At any rate, again it's probably best if you raise the issue there, they'll be able to help you with that. |
Not sure what you mean? I guess the point is that the tests have all actually passed - but the TAP harness thinks something is screwy. |
Well, the tests are emitting characters that TAP can't parse. And that's something that can be fixed only in that distro, I'm afraid. As @Leont says, strict TAP parsing is something that can be done and that's the technical decision taken here; other test runners might be more lenient. Baseline is, it's not something we can fix here. You can either try and have Readline fix it, or else tell |
Ok thanks for explaining. :) |
Issue
If I download the source, and comment out this line: https://github.com/lathropd/perl6-readline/blob/1e2f1f00c56c8cc1762b997e083ea460ea7ee1ae/t/02-base.t#L58 the tests pass.
The
-verbose
output from the test shows thatterminal
actually runs three tests, but then reportsexpected 3 but contains 2 tests
Environment:
#1 SMP Debian 5.10.158-2 (2022-12-13) x86_64 GNU/Linux
Please let me know if you need any further information. I can also test if you don't have a similar environment.
:)
The text was updated successfully, but these errors were encountered: