import glob


def get_test_files(test_dir):
    """
    Function used to get all test .c scripts
    :param test_dir: directory to get all .c files
    :return test_files: list of test files
    """
    test_files = glob.glob(test_dir, recursive=True)

    return test_files