compiletest

Function collect_tests_from_dir

source
pub(crate) fn collect_tests_from_dir(
    config: Arc<Config>,
    cache: &HeadersCache,
    dir: &Path,
    relative_dir_path: &Path,
    inputs: &Stamp,
    tests: &mut Vec<TestDescAndFn>,
    found_paths: &mut HashSet<PathBuf>,
    modified_tests: &Vec<PathBuf>,
    poisoned: &mut bool,
) -> Result<()>