Closed acheronfail closed 6 years ago
Very nice, thanks!
While the tests are building they block each other while waiting to build
This is a bit unfortunate. It also causes some very verbose output:
Maybe it's possible to first build all tests sequentially and then run them in parallel? I think this could work by iterating twice: In the first iteration we call build::build_impl
for each tests so that we get an iterator of test_paths as result. In the second iteration we use par_iter to launch QEMU for each test_path and collect the test results.
Maybe it's possible to first build all tests sequentially and then run them in parallel?
That makes things both easier and gives much nicer output. 👌
Awesome, thanks a lot!
Almost forgot to push a new version to crates.io. Version 0.5.7 is out.
Fixes #21
This PR adds
rayon
and uses it during thebootimage test
command so that all the tests are run in parallel.There's a few caveats though:
Aside from those, the actual tests themselves are run in parallel, just not when they're built..
Suggestions welcome for improvements!