blob: c058ade6337c3fa1581c9c47e5ed1eda10462a7b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
use super::TestWrapperFunction;
use test_rpc::meta::Os;
#[derive(Clone, Debug)]
pub struct TestMetadata {
pub name: &'static str,
pub targets: &'static [Os],
pub func: TestWrapperFunction,
/// Priority order of the tests, unless specific tests are given as the `TEST_FILTERS` argument
pub priority: Option<i32>,
/// A list of location that will be used for by the test
pub location: Option<Vec<String>>,
/// If the current test should be skipped.
pub skip: bool,
}
// Register our test metadata struct with inventory to allow submitting tests of this type.
inventory::collect!(TestMetadata);
|