BuildReports: Add test report log#1417
Conversation
The test report log contains the actual output emitted by the test-suite in a given Cabal package. The test log only contains the logs of the *build* of the test.
|
this looks good to me. @bgamari i think we'll need to deploy the builder and the main hackage in sync for this... when you get time, take a look and then we can coordinate? |
|
I tried testing the migration locally, and I am getting an error with Acid.Core "too few bytes". So there must be some problem with this PR, or maybe it is exposing an existing issue... I will report back if I find out what the problem is. I think I'll try to write a unit test for this. |
|
I've done some migration testsusing the following REPL code: I still haven't discovered any issues... |
|
@gbaz Do you have any ideas for how to advance this? I'd be curious to know if you can reproduce my issue with your local instance. |
sol
left a comment
There was a problem hiding this comment.
From what I understand --test-show-details=always is a much easier (one line) fix that does not require a data migration.
sol
left a comment
There was a problem hiding this comment.
From what I understand --test-show-details=always is a much easier (one line) fix that does not require a data migration.
The test report log contains the actual output emitted by the test-suite
in a given Cabal package.
The test log only contains the logs of the build of the test.
Fixes #1397.
Demo
These were the logs as emitted by
cabal run exe:hackage-build -- build testpkg -v:Cabal file fragment:
Main.hs (of test-suite) contents: