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"])
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"])
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"])
def runLifetimeAnalysisTests(vmArgs): """runs the LTA test suite""" mx_sulong.ensureDragonEggExists() compileSuite(['gcc']) ensureLifetimeAnalysisReferenceExists() return run32(vmArgs, "com.oracle.truffle.llvm.test.alpha.LifetimeAnalysisSuite")
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")
def runParserTortureSuite(vmArgs): """runs the ParserTorture test suite""" mx_sulong.ensureDragonEggExists() compileSuite(['parserTorture']) return run32(vmArgs, "com.oracle.truffle.llvm.test.alpha.ParserTortureSuite")
def runGCCSuite(vmArgs): """runs the LLVM test suite""" mx_sulong.ensureDragonEggExists() compileSuite(['gcc']) return run32(vmArgs, "com.oracle.truffle.llvm.test.alpha.GCCSuite")
def runSulongSuite(vmArgs): """runs the Sulong test suite""" mx_sulong.ensureDragonEggExists() compileSuite(['sulong']) return run32(vmArgs, "com.oracle.truffle.llvm.test.alpha.SulongSuite")
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"])
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"])
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'])