Example #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"])
Example #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"])
Example #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"])
Example #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")
Example #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")
Example #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")
Example #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")
Example #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")
Example #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"])
Example #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"])
Example #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'])