示例#1
0
def runShootoutSuite(vmArgs):
    """runs the Sulong test suite"""
    mx_sulong.ensureDragonEggExists()
    compileSuite(['shootout'])
    return run(vmArgs,
               "com.oracle.truffle.llvm.test.alpha.ShootoutsSuite",
               extraLibs=["libgmp.so.10"])
示例#2
0
def runGCCSuite_fortran(vmArgs):
    """runs the LLVM test suite"""
    mx_sulong.ensureDragonEggExists()
    compileSuite(['gcc_fortran'])
    return run(vmArgs + ['-Dsulongtest.fileExtensionFilter=.f90:.f:.f03'],
               "com.oracle.truffle.llvm.test.alpha.GCCSuite",
               extraLibs=["libgfortran.so.3"])
示例#3
0
def runGCCSuite32(vmArgs):
    """runs the LLVM test suite"""
    mx_sulong.ensureDragonEggExists()
    compileSuite(['gcc32'])
    return run(vmArgs,
               "com.oracle.truffle.llvm.test.alpha.GCCSuite",
               extraLibs=["libgfortran.so.3"])
示例#4
0
def runLifetimeAnalysisTests(vmArgs):
    """runs the LTA test suite"""
    mx_sulong.ensureDragonEggExists()
    compileSuite(['gcc'])
    ensureLifetimeAnalysisReferenceExists()
    return run32(vmArgs,
                 "com.oracle.truffle.llvm.test.alpha.LifetimeAnalysisSuite")
示例#5
0
def runParserTortureSuite(vmArgs):
    """runs the ParserTorture test suite"""
    mx_sulong.ensureDragonEggExists()
    compileSuite(['parserTorture'])
    return run(vmArgs + ['-Dpolyglot.llvm.parseOnly=true'],
               "com.oracle.truffle.llvm.test.alpha.ParserTortureSuite")
示例#6
0
def runParserTortureSuite(vmArgs):
    """runs the ParserTorture test suite"""
    mx_sulong.ensureDragonEggExists()
    compileSuite(['parserTorture'])
    return run32(vmArgs,
                 "com.oracle.truffle.llvm.test.alpha.ParserTortureSuite")
示例#7
0
def runGCCSuite(vmArgs):
    """runs the LLVM test suite"""
    mx_sulong.ensureDragonEggExists()
    compileSuite(['gcc'])
    return run32(vmArgs, "com.oracle.truffle.llvm.test.alpha.GCCSuite")
示例#8
0
def runSulongSuite(vmArgs):
    """runs the Sulong test suite"""
    mx_sulong.ensureDragonEggExists()
    compileSuite(['sulong'])
    return run32(vmArgs, "com.oracle.truffle.llvm.test.alpha.SulongSuite")
示例#9
0
文件: testsuites.py 项目: lxp/sulong
def runShootoutSuite(vmArgs):
    """runs the Sulong test suite"""
    mx_sulong.ensureDragonEggExists()
    compileSuite(['shootout'])
    return mx_unittest.unittest(mx_sulong.getCommonUnitTestOptions() + vmArgs + ['--verbose', "com.oracle.truffle.llvm.test.alpha.ShootoutsSuite"])
示例#10
0
文件: testsuites.py 项目: lxp/sulong
def runSulongSuite(vmArgs):
    """runs the Sulong test suite"""
    mx_sulong.ensureDragonEggExists()
    compileSuite(['sulong'])
    return mx_unittest.unittest(mx_sulong.getCommonUnitTestOptions() + ['-Dgraal.TruffleCompilationThreshold=10', '-Dsulong.ExecutionCount=20'] + vmArgs + ['--verbose', "com.oracle.truffle.llvm.test.alpha.SulongSuite"])
示例#11
0
def runSulongSuite(vmArgs):
    """runs the Sulong test suite"""
    mx_sulong.ensureDragonEggExists()
    compileSuite(['sulong'])
    return run(vmArgs, "com.oracle.truffle.llvm.test.alpha.SulongSuite", ['-Dgraal.TruffleCompilationThreshold=10', '-Dsulong.ExecutionCount=20'])