If `build_context.test_names` is empty, we do not need to perform any filtering.
The dependency set need to be generated before we check the testing procedures. Otherwise `checker->info.testing_procedures` will be empty and thus no filtering is taking place.