コード例 #1
0
ファイル: perf.py プロジェクト: zygoloid/test-suite
def mutatePlan(context, plan):
    script = context.parsed_runscript
    if context.config.run_under:
        script = testplan.mutateScript(context, script,
                                       run_under.mutateCommandLine)
    script = testplan.mutateScript(context, script, mutateCommandLine)
    plan.profilescript += script
コード例 #2
0
ファイル: perf.py プロジェクト: Artem-B/test-suite
def mutatePlan(context, plan):
    script = context.parsed_runscript
    if context.config.run_under:
        script = testplan.mutateScript(context, script,
                                       run_under.mutateCommandLine)
    script = testplan.mutateScript(context, script, mutateCommandLine)
    plan.profilescript += script
コード例 #3
0
ファイル: perf.py プロジェクト: lotus321/llvm-test-suite
def mutatePlan(context, plan):
    script = context.parsed_runscript
    if context.config.run_under:
        script = testplan.mutateScript(context, script,
                                       run_under.mutateCommandLine)
    script = testplan.mutateScript(context, script, _mutateCommandLine)
    plan.profilescript += script
    plan.metric_collectors.append(
        lambda context: {'profile': context.tmpBase + '.perf_data'})
コード例 #4
0
ファイル: timeit.py プロジェクト: kurborg/ccf
def mutateScript(context, script):
    if not hasattr(context, "timefiles"):
        context.timefiles = []
    return testplan.mutateScript(context, script, mutateCommandLine)
コード例 #5
0
def _mutateScript(context, script):
    return testplan.mutateScript(context, script, _mutateCommandLine)
コード例 #6
0
ファイル: run_under.py プロジェクト: timxzl/test-suite
def mutatePlan(context, plan):
    run_under = context.config.run_under
    if run_under:
        plan.runscript = testplan.mutateScript(context, plan.runscript,
                                               mutateCommandLine)
コード例 #7
0
ファイル: run_under.py プロジェクト: zygoloid/test-suite
def mutatePlan(context, plan):
    run_under = context.config.run_under
    if run_under:
        plan.runscript = testplan.mutateScript(context, plan.runscript,
                                               mutateCommandLine)
コード例 #8
0
ファイル: remote.py プロジェクト: zygoloid/test-suite
def mutateScript(context, script, suffix=""):
    mutate = lambda c, cmd: mutateCommandline(c, cmd, suffix)
    return testplan.mutateScript(context, script, mutate)
コード例 #9
0
ファイル: profilegen.py プロジェクト: zygoloid/test-suite
def mutateScript(context, script):
    return testplan.mutateScript(context, script, mutateCommandline)
コード例 #10
0
ファイル: remote.py プロジェクト: ishepherdMiner/TryLLVM
def _mutateScript(context, script):
    def mutate(context, command):
        return _mutateCommandline(context, command)
    return testplan.mutateScript(context, script, mutate)
コード例 #11
0
ファイル: timeit.py プロジェクト: Artem-B/test-suite
def mutateScript(context, script):
    if not hasattr(context, "timefiles"):
        context.timefiles = []
    return testplan.mutateScript(context, script, mutateCommandLine)