pub enum BuildNextestVmmTestsMode {
ImmediatelyRun {
nextest_profile: NextestProfile,
nextest_filter_expr: Option<String>,
extra_env: ReadVar<BTreeMap<String, String>>,
pre_run_deps: Vec<ReadVar<SideEffect>>,
results: WriteVar<TestResults>,
},
Archive(WriteVar<NextestVmmTestsArchive>),
}
Expand description
Build mode to use when building the nextest VMM tests
Variants§
ImmediatelyRun
Build and immediate run VMM tests, side-stepping any intermediate archiving steps.
NOTE: The caller is responsible for setting extra_env
and
pre_run_deps
to ensure that all tests filtered by
nextest_filter_expr
are able to run successfully.
Fields
§
nextest_profile: NextestProfile
Nextest profile to use when running the source code
§
pre_run_deps: Vec<ReadVar<SideEffect>>
Wait for specified side-effects to resolve before building / running any tests. (e.g: to allow for some ambient packages / dependencies to get installed).
§
results: WriteVar<TestResults>
Archive(WriteVar<NextestVmmTestsArchive>)
Build and archive the tests into a nextest archive file, which can then
be run via crate::test_nextest_vmm_tests_archive
.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BuildNextestVmmTestsMode
impl<'de> Deserialize<'de> for BuildNextestVmmTestsMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BuildNextestVmmTestsMode
impl RefUnwindSafe for BuildNextestVmmTestsMode
impl Send for BuildNextestVmmTestsMode
impl Sync for BuildNextestVmmTestsMode
impl Unpin for BuildNextestVmmTestsMode
impl UnwindSafe for BuildNextestVmmTestsMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more