def METHOD_NAME(test_directory):
    proj_dirs = []
    if not os.path.isdir(test_directory):
        err_exit("test directory does not exist")
    for l in os.listdir(test_directory):
        if "corpus-" in l and os.path.isdir(os.path.join(test_directory, l)):
            proj_dirs.append(l)
    for proj_dir in proj_dirs:
        check_project_dir(os.path.join(test_directory, proj_dir))