-
Notifications
You must be signed in to change notification settings - Fork 110
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
Tasty output garbled on travis.ci #250
Comments
Possibly the same issue as what @gromakovsky reported here: #152 (comment). I am looking into it. |
There is now a fix/workaround in master: you can pass |
Thanks @feuerbach! |
Ok, this is now released as tasty-1.2.2 on hackage. |
I tried it at agda/agda#3906 to no avail. How does this work?
|
It seems that should do the trick. |
Good, I hang on for the next release. |
@andreasabel sorry, I only saw @L-TChen's comment and missed yours (and was somewhat confused as to what "trick" Liang-Ting was referring to). Liang-Ting's PR has nothing to do with your issue and is purely stylistic (adding a re-export for consistency with other options). Your issue looks very bizarre to me; I'll look into it. |
That's even weird. I checked out the version 1.2.2 and found that |
@andreasabel ah, the problem is that you're not using tasty's console reporter (which now has the --ansi-tricks option) but tasty-silver's interactiveTests (which is, as far as I understand, a completely independent codebase). So you'll have to ask @phile314 to port the new option to his ingredient. |
@andreasabel alternatively, if you are not using any of tasty-silver's specific features on the CI, you could adjust your code so that it uses tasty's console reporter when run on the CI. You can do this either externally to tasty (by choosing whether to run defaultMain1 from tasty-silver or defaultMain from tasty based on, say, an environment variable) or internally, by creating a meta-ingredient that would switch between tasty's consoleReporter and tasty-silver's interactiveTests based on the value of a tasty option. (The code for the meta-ingredient would be similar to |
(See phile314/tasty-silver#17 for a feature request from @phile314.) |
The ansi-terminal tricks are likely responsible for getting garbled output on travis.ci. See, e.g., https://travis-ci.org/agda/agda/jobs/527944949 for a typical protocol of the Agda test suite. When a test is failing, it is hard to impossible to see which case failed.
Running the testsuite on my local machine I get nice output, none of this garbling.
Have you heard this complaint before?
An option to get "plain output" or a fix that works for travis would be great!
The text was updated successfully, but these errors were encountered: