compiletest

Function collect_tests_from_dir

Source
pub(crate) fn collect_tests_from_dir(
    cx: &TestCollectorCx,
    collector: &mut TestCollector,
    dir: &Path,
    relative_dir_path: &Path,
) -> Result<()>
Expand description

Recursively scans a directory to find test files and create test structures that will be handed over to libtest.