def METHOD_NAME():
    parser = argparse.ArgumentParser(description='Fix test failures in MDP files')
    parser.add_argument('failed_tests_file', nargs = '?', help='a file containing failed tests, one per line (ctest output)')
    parser.add_argument('--dryRun', action='store_true',
                        help='dry run only, do not actually change MDP files')
    parser.add_argument('--logFile',
                        help='Log file created with ctest --output-on-failure command')
    args = parser.parse_args()
    dryrun = args.dryRun
    inputfile = args.failed_tests_file
    logfile = args.logFile
    if inputfile is None and logfile is None:
        print "Either a file with failed tests or a log file needs to be specified\n"
        exit(1)
    elif inputfile is not None and logfile is not None:
        print "If a file with failed tests is specified, the --logFile is not allowed\n"
        exit(1)
    print "File: %s, dryrun %s, logfile %s\n" % (inputfile, dryrun, logfile)
    if inputfile is not None:
        runTests(inputfile)
    else:
        processExistingLogFile(logfile)