def test_pbesstategraph(p, filename):
    txtfile = filename + '.txt'
    path(txtfile).write_text('%s' % p)
    testfile = '../random/tests/pbesstategraph.yml'
    inputfiles = [txtfile]
    reporterrors = True
    settings = dict()
    settings['verbose'] = False
    settings['toolpath'] = '../../tools/bin'
    result = run_replay(testfile, inputfiles, reporterrors, settings)
    print filename, result
    return result
예제 #2
0
def run_ticket(testfile, inputfiles, msg = '', verbose = False, reporterrors = True, toolpath = '../../tools/bin'):
    settings = dict()
    settings['verbose'] = verbose
    settings['toolpath'] = toolpath
    print(msg)
    run_replay(testfile, inputfiles, reporterrors, settings)