~icefox/garnetc#9: 
Fix coverage tests with tarpaulin

With the advent of lang_tester executing garnetc as a separate process, tarpaulin a) takes about a minute or two to start executing, and thus times out builds.sr.ht, and b) doesn't check for code executed in the resulting garnetc binary, so coverage goes from 76% to 62%.

Per xd009642 on the Unofficial Rust Discord:

it won't followed exec'ed processed by default but the alpha releases have a --follow-exec that will and should work reasonably well ... There's not a lot of people using --follow-exec right now (but there is a handful I know of) feel free to let me know if there are any issues.

I'm vendoring my own tarpaulin binaries so CI don't have to rebuild them each time, so I can just update those.

Well I tried updating to tarpaulin 0.18.0-alpha2 on my local machine and it made most of the endtoend.rs tests fail, rustc ICE's at least once, and the error output is 6 megabytes. I'm honestly pretty impressed!

It appears to build endtoend.rs successfully, in fact, and somehow doesn't execute it with the right command line args. Running the resulting test binary by hand is what makes all that stuff happen. garnetc invokes rustc and I don't think anything in the generated test binary itself does, so Something Weird is happening somewhere.

Status
REPORTED
Submitter
~icefox
Assigned to
No-one
Submitted
1 year, 10 months ago
Updated
1 year, 10 months ago
Labels
T-TODO