Ejemplo n.º 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"])
Ejemplo n.º 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"])
Ejemplo n.º 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"])
Ejemplo n.º 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")
Ejemplo n.º 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")
Ejemplo n.º 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")
Ejemplo n.º 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")
Ejemplo n.º 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")
Ejemplo n.º 9
0
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"])
Ejemplo n.º 10
0
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"])
Ejemplo n.º 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'])