collect_and_make_tests

Function collect_and_make_tests 

Source
pub(crate) fn collect_and_make_tests(config: Arc<Config>) -> Vec<CollectedTest>
Expand description

Creates test structures for every test/revision in the test suite directory.

This always inspects all test files in the suite (e.g. all 17k+ ui tests), regardless of whether any filters/tests were specified on the command-line, because filtering is handled later by code that was copied from libtest.

FIXME(Zalathar): Now that we no longer rely on libtest, try to overhaul test discovery to take into account the filters/tests specified on the command-line, instead of having to enumerate everything.