-
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
Struggling with tasty-golden under Windows 10 (2004) #42
Comments
No objections from me — could you send a PR? Ideally with explanations of what each of these does/why they are needed (in the docs for doc changes and in the comments for code changes.) |
Will do. When you say "docs" what are you referring to? |
I mean your points (2) and (3). E.g. when mentioning that the test harness should be compiled |
Ok, but where should this go? Is there some user-facing documentation somewhere? |
Yes, in the module-level haddocks. There's already some advice there about file names, line endings etc.: https://hackage.haskell.org/package/tasty-golden-2.3.4/docs/Test-Tasty-Golden.html |
Maybe it could also benefit from some headers to establish a bit of structure. |
Sure. As a side-note. probably a separate issue, there is the question of ctrl-c handling, and whether it should be delegated to the child process. |
I suggest that, to improve the reliability of testing under Windows, you could
System.Process
to 1.6.8.1 (Fix job support haskell/process#168) and setuse_process_jobs=True
when constructing thediff
processdiff
process should not callexec
as the ExitCode will be unreliable. (This is a pity as I suspect thatgit diff
probably does this.)-threaded
(I am having stability problems with a test suite on Windows that don't occur on Linux and MacOS.)
The text was updated successfully, but these errors were encountered: