crosvm/base/tests
Dennis Kempin 9a5dcbc68d base: Spawn separate process for executing process tests
These tests will use fork, which does not work in a multi-threaded
process. This is currently enforced by passing --test-threads 1 to
this test, but that won't work with cargo nextest.

To ensure that the test process is single-threaded, re-execute the
test binary as a child process.

BUG=b:261600801
TEST=presubmit

Change-Id: I1762ebbae66331895f84df9daa484468f1fe086d
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4086902
Commit-Queue: Dennis Kempin <denniskempin@google.com>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Auto-Submit: Dennis Kempin <denniskempin@google.com>
2022-12-07 19:19:46 +00:00
..
unix base: Spawn separate process for executing process tests 2022-12-07 19:19:46 +00:00
process.rs base: Spawn separate process for executing process tests 2022-12-07 19:19:46 +00:00
tube.rs