def executeGate(): """executes the TruffleLLVM gate tasks""" tasks = [] with Task('BuildHotSpotGraalServer: product', tasks) as t: if t: buildvms(['-c', '--vms', 'server', '--builds', 'product']) with VM('server', 'product'): with Task('Findbugs', tasks) as t: if t: mx_findbugs.findbugs([]) with VM('server', 'product'): with Task('TestBenchmarks', tasks) as t: if t: runBenchmarkTestCases() with VM('server', 'product'): with Task('TestTypes', tasks) as t: if t: runTypeTestCases() with VM('server', 'product'): with Task('TestSulong', tasks) as t: if t: runTruffleTestCases() with VM('server', 'product'): with Task('TestGCC', tasks) as t: if t: runGCCTestCases() with VM('server', 'product'): with Task('TestLLVM', tasks) as t: if t: runLLVMTestCases() with VM('server', 'product'): with Task('TestNWCC', tasks) as t: if t: runNWCCTestCases()
def executeGate(): """executes the TruffleLLVM gate tasks""" tasks = [] with Task('BuildHotSpotGraalServer: product', tasks) as t: if t: buildvms(['-c', '--vms', 'server', '--builds', 'product']) with VM('server', 'product'): with Task('Findbugs', tasks) as t: if t: mx_findbugs.findbugs([]) with VM('server', 'product'): with Task('TestBenchmarks', tasks) as t: if t: runBenchmarkTestCases() with VM('server', 'product'): with Task('TestTypes', tasks) as t: if t: runTypeTestCases() with VM('server', 'product'): with Task('TestSulong', tasks) as t: if t: runTruffleTestCases() with VM('server', 'product'): with Task('TestGCC', tasks) as t: if t: runGCCTestCases() with VM('server', 'product'): with Task('TestLLVM', tasks) as t: if t: runLLVMTestCases() with VM('server', 'product'): with Task('TestNWCC', tasks) as t: if t: runNWCCTestCases()
def executeGate(): """executes the TruffleLLVM gate tasks""" tasks = [] with Task('Findbugs', tasks) as t: if t and mx_findbugs.findbugs([]) != 0: t.abort('FindBugs warnings were found') with Task('TestBenchmarks', tasks) as t: if t: runBenchmarkTestCases() with Task('TestTypes', tasks) as t: if t: runTypeTestCases() with Task('TestPolglot', tasks) as t: if t: runPolyglotTestCases() with Task('TestInterop', tasks) as t: if t: runInteropTestCases() with Task('TestTck', tasks) as t: if t: runTckTestCases() with Task('TestAsm', tasks) as t: if t: runAsmTestCases() with Task('TestSulong', tasks) as t: if t: runTruffleTestCases() with Task('TestGCC', tasks) as t: if t: runGCCTestCases() with Task('TestLLVM', tasks) as t: if t: runLLVMTestCases() with Task('TestNWCC', tasks) as t: if t: runNWCCTestCases() with Task('TestGCCSuiteCompile', tasks) as t: if t: runCompileTestCases() with Task('TestJRuby', tasks) as t: if t: runTestJRuby() with Task('TestArgon2', tasks) as t: if t: runTestArgon2(optimize=False)
def travis1(args=None): tasks = [] with Task('BuildJavaWithEcj', tasks) as t: if t: if mx.get_env('JDT'): mx.command_function('build')(['-p', '--no-native', '--warning-as-error']) gate_clean([], tasks, name='CleanAfterEcjBuild') else: mx._warn_or_abort('JDT environment variable not set. Cannot execute BuildJavaWithEcj task.', args.strict_mode) with Task('BuildJavaWithJavac', tasks) as t: if t: mx.command_function('build')(['-p', '--warning-as-error', '--no-native', '--force-javac']) with Task('Findbugs', tasks) as t: if t and mx_findbugs.findbugs([]) != 0: t.abort('FindBugs warnings were found') with Task('TestBenchmarks', tasks) as t: if t: runBenchmarkTestCases() with Task('TestPolglot', tasks) as t: if t: runPolyglotTestCases() with Task('TestInterop', tasks) as t: if t: runInteropTestCases() with Task('TestAsm', tasks) as t: if t: runAsmTestCases() with Task('TestTypes', tasks) as t: if t: runTypeTestCases() with Task('TestSulong', tasks) as t: if t: runTruffleTestCases() with Task('TestLLVM', tasks) as t: if t: runLLVMTestCases()
def executeGate(): """executes the TruffleLLVM gate tasks""" tasks = [] with Task('Findbugs', tasks) as t: if t and mx_findbugs.findbugs([]) != 0: t.abort('FindBugs warnings were found') with Task('TestBenchmarks', tasks) as t: if t: runBenchmarkTestCases() with Task('TestTypes', tasks) as t: if t: runTypeTestCases() with Task('TestPolglot', tasks) as t: if t: runPolyglotTestCases() with Task('TestInterop', tasks) as t: if t: runInteropTestCases() with Task('TestAsm', tasks) as t: if t: runAsmTestCases() with Task('TestSulong', tasks) as t: if t: runTruffleTestCases() with Task('TestGCC', tasks) as t: if t: runGCCTestCases() with Task('TestLLVM', tasks) as t: if t: runLLVMTestCases() with Task('TestNWCC', tasks) as t: if t: runNWCCTestCases() with Task('TestGCCSuiteCompile', tasks) as t: if t: runCompileTestCases()
def findBugs(args=None): tasks = [] with Task('Clean', tasks) as t: if t: mx.clean([]) # we need a clean build before running findbugs with Task('Build', tasks) as t: if t: mx.build(['--force-javac']) with Task('Findbugs', tasks) as t: if t and mx_findbugs.findbugs([]) != 0: t.abort('FindBugs warnings were found')
def findBugs(args=None): tasks = [] with Task('Clean', tasks) as t: if t: mx.clean([]) # we need a clean build before running findbugs with Task('Build', tasks) as t: if t: mx.build([]) with Task('Findbugs', tasks) as t: if t and mx_findbugs.findbugs([]) != 0: t.abort('FindBugs warnings were found')
def travis1(args=None): tasks = [] with Task('BuildHotSpotGraalServer: product', tasks) as t: if t: buildvms(['-c', '--vms', 'server', '--builds', 'product']) with VM('server', 'product'): with Task('Findbugs', tasks) as t: if t: mx_findbugs.findbugs([]) with VM('server', 'product'): with Task('TestBenchmarks', tasks) as t: if t: runBenchmarkTestCases() with VM('server', 'product'): with Task('TestTypes', tasks) as t: if t: runTypeTestCases() with VM('server', 'product'): with Task('TestSulong', tasks) as t: if t: runTruffleTestCases() with VM('server', 'product'): with Task('TestLLVM', tasks) as t: if t: runLLVMTestCases() with VM('server', 'product'): with Task('TestNWCC', tasks) as t: if t: runNWCCTestCases()
def travis1(args=None): tasks = [] with Task('BuildHotSpotGraalServer: product', tasks) as t: if t: buildvms(['-c', '--vms', 'server', '--builds', 'product']) with VM('server', 'product'): with Task('Findbugs', tasks) as t: if t: mx_findbugs.findbugs([]) with VM('server', 'product'): with Task('TestBenchmarks', tasks) as t: if t: runBenchmarkTestCases() with VM('server', 'product'): with Task('TestTypes', tasks) as t: if t: runTypeTestCases() with VM('server', 'product'): with Task('TestSulong', tasks) as t: if t: runTruffleTestCases() with VM('server', 'product'): with Task('TestLLVM', tasks) as t: if t: runLLVMTestCases() with VM('server', 'product'): with Task('TestNWCC', tasks) as t: if t: runNWCCTestCases()
def travis1(args=None): tasks = [] with Task('BuildJavaWithEcj', tasks) as t: if t: if mx.get_env('JDT'): mx.command_function('build')(['-p', '--no-native', '--warning-as-error']) gate_clean([], tasks, name='CleanAfterEcjBuild') else: mx._warn_or_abort('JDT environment variable not set. Cannot execute BuildJavaWithEcj task.', args.strict_mode) with Task('BuildJavaWithJavac', tasks) as t: if t: mx.command_function('build')(['-p', '--warning-as-error', '--no-native', '--force-javac']) with Task('BuildHotSpotGraalServer: product', tasks) as t: if t: buildvms(['-c', '--vms', 'server', '--builds', 'product']) with VM('server', 'product'): with Task('Findbugs', tasks) as t: if t and mx_findbugs.findbugs([]) != 0: t.abort('FindBugs warnings were found') with VM('server', 'product'): with Task('TestBenchmarks', tasks) as t: if t: runBenchmarkTestCases() with VM('server', 'product'): with Task('TestPolglot', tasks) as t: if t: runPolyglotTestCases() with VM('server', 'product'): with Task('TestInterop', tasks) as t: if t: runInteropTestCases() with VM('server', 'product'): with Task('TestAsm', tasks) as t: if t: runAsmTestCases() with VM('server', 'product'): with Task('TestTypes', tasks) as t: if t: runTypeTestCases() with VM('server', 'product'): with Task('TestSulong', tasks) as t: if t: runTruffleTestCases() with VM('server', 'product'): with Task('TestLLVM', tasks) as t: if t: runLLVMTestCases() with VM('server', 'product'): with Task('TestNWCC', tasks) as t: if t: runNWCCTestCases() with VM('server', 'product'): with Task('TestGCCSuiteCompile', tasks) as t: if t: runCompileTestCases()
def executeGate(): """executes the TruffleLLVM gate tasks""" tasks = [] with Task('BuildHotSpotGraalServer: product', tasks) as t: if t: buildvms(['-c', '--vms', 'server', '--builds', 'product']) with VM('server', 'product'): with Task('Findbugs', tasks) as t: if t and mx_findbugs.findbugs([]) != 0: t.abort('FindBugs warnings were found') with VM('server', 'product'): with Task('TestBenchmarks', tasks) as t: if t: runBenchmarkTestCases() with VM('server', 'product'): with Task('TestTypes', tasks) as t: if t: runTypeTestCases() with VM('server', 'product'): with Task('TestPolglot', tasks) as t: if t: runPolyglotTestCases() with VM('server', 'product'): with Task('TestInterop', tasks) as t: if t: runInteropTestCases() with VM('server', 'product'): with Task('TestAsm', tasks) as t: if t: runAsmTestCases() with VM('server', 'product'): with Task('TestSulong', tasks) as t: if t: runTruffleTestCases() with VM('server', 'product'): with Task('TestGCC', tasks) as t: if t: runGCCTestCases() with VM('server', 'product'): with Task('TestLLVM', tasks) as t: if t: runLLVMTestCases() with VM('server', 'product'): with Task('TestNWCC', tasks) as t: if t: runNWCCTestCases() with VM('server', 'product'): with Task('TestGCCSuiteCompile', tasks) as t: if t: runCompileTestCases()
def travis1(args=None): """executes the first Travis job (ECJ and Javac build, findbugs, benchmarks, polyglot, interop, tck, asm, types, Sulong, and LLVM test cases)""" tasks = [] with Task('BuildJavaWithEcj', tasks) as t: if t: if mx.get_env('JDT'): mx.command_function('build')( ['-p', '--no-native', '--warning-as-error']) gate_clean([], tasks, name='CleanAfterEcjBuild') else: mx._warn_or_abort( 'JDT environment variable not set. Cannot execute BuildJavaWithEcj task.', args.strict_mode) with Task('BuildJavaWithJavac', tasks) as t: if t: mx.command_function('build')( ['-p', '--warning-as-error', '--no-native', '--force-javac']) with Task('Findbugs', tasks) as t: if t and mx_findbugs.findbugs([]) != 0: t.abort('FindBugs warnings were found') with Task('TestBenchmarks', tasks) as t: if t: runBenchmarkTestCases() with Task('TestPolglot', tasks) as t: if t: runPolyglotTestCases() with Task('TestInterop', tasks) as t: if t: runInteropTestCases() with Task('TestTck', tasks) as t: if t: runTckTestCases() with Task('TestAsm', tasks) as t: if t: runAsmTestCases() with Task('TestTypes', tasks) as t: if t: runTypeTestCases() with Task('TestSulong', tasks) as t: if t: runTruffleTestCases() with Task('TestLLVM', tasks) as t: if t: runLLVMTestCases()