@@ -76,9 +76,7 @@ local part_definitions = {
76
76
build: {
77
77
setup+: [
78
78
["mx" , "sversions" ],
79
- ] + self .before_build + [
80
- ["mx" , "build_truffleruby" ],
81
- ] + self .after_build,
79
+ ] + self .before_build + jt(["build" ]) + self .after_build,
82
80
},
83
81
84
82
truffleruby: {
@@ -316,23 +314,6 @@ local part_definitions = {
316
314
path+:: ["$JAVA_HOME/bin" ],
317
315
},
318
316
},
319
-
320
- oraclejdk11: {
321
- downloads+: {
322
- JAVA_HOME: {
323
- name: "oraclejdk" ,
324
- version: "11+20" ,
325
- platformspecific: true ,
326
- },
327
-
328
- # We need a JDK 8 to compile TruffleRuby
329
- EXTRA_JAVA_HOMES: $.jdk.labsjdk8.downloads["JAVA_HOME" ],
330
- },
331
-
332
- environment+: {
333
- path+:: ["$JAVA_HOME/bin" ],
334
- },
335
- },
336
317
},
337
318
338
319
platform: {
@@ -380,7 +361,6 @@ local part_definitions = {
380
361
capabilities+: self ["$.cap" ].normal_machine,
381
362
targets+: ["deploy" , "post-merge" ],
382
363
},
383
- fast_cpu: { capabilities+: ["fast" ] },
384
364
bench: { capabilities+: self ["$.cap" ].bench_machine },
385
365
x52_18_override: {
386
366
is_after+:: ["$.cap.bench" ],
@@ -553,38 +533,30 @@ local composition_environment = utils.add_inclusion_tracking(part_definitions, "
553
533
554
534
test_builds:
555
535
{
556
- local shared = $.jdk.labsjdk8 + $.use.common + $.use.build + $.cap.gate +
557
- $.run.test_unit_tck_specs + { timelimit: "35:00" },
558
-
559
- "ruby-test-specs-linux" : $.platform.linux + shared,
560
- "ruby-test-specs-darwin" : $.platform.darwin + shared,
561
- } +
562
-
563
- {
564
- "ruby-test-fast-java11-linux" : $.platform.linux + $.jdk.oraclejdk11 + $.use.common + $.use.build + $.cap.gate +
565
- $.run.test_fast + { timelimit: "30:00" },
536
+ "ruby-lint" : $.platform.linux + $.cap.gate + $.jdk.labsjdk8 + $.use.common + $.run.lint + { timelimit: "30:00" },
566
537
} +
567
538
568
539
{
569
- local linux_gate = $.platform.linux + $.cap.gate + $.jdk.labsjdk8 + $.use.common + { timelimit: "01:00:00" },
540
+ local linux_gate = $.platform.linux + $.cap.gate + $.jdk.labsjdk8 + $.use.common + $.use.build + { timelimit: "01:00:00" },
570
541
571
- "ruby-lint" : linux_gate + $.run.lint + { timelimit: "30:00" },
572
- "ruby-test-mri-linux" : $.cap.fast_cpu + linux_gate + $.use.build + $.run.test_mri + { timelimit: "25:00" },
573
- "ruby-test-integration" : linux_gate + $.use.build + $.run.test_integration,
574
- "ruby-test-cexts-linux" : linux_gate + $.use.build + $.use.gem_test_pack + $.run.test_cexts,
575
- "ruby-test-gems" : linux_gate + $.use.build + $.use.gem_test_pack + $.run.test_gems,
576
- "ruby-test-ecosystem" : linux_gate + $.use.build + $.use.gem_test_pack + $.run.test_ecosystem,
542
+ "ruby-test-specs-linux" : linux_gate + $.run.test_unit_tck_specs + { timelimit: "35:00" },
543
+ "ruby-test-fast-linux" : linux_gate + $.run.test_fast + { timelimit: "30:00" }, # To catch missing slow tags
544
+ "ruby-test-mri-linux" : linux_gate + $.run.test_mri + { timelimit: "25:00" },
545
+ "ruby-test-integration" : linux_gate + $.run.test_integration,
546
+ "ruby-test-cexts-linux" : linux_gate + $.use.gem_test_pack + $.run.test_cexts,
547
+ "ruby-test-gems" : linux_gate + $.use.gem_test_pack + $.run.test_gems,
548
+ "ruby-test-ecosystem" : linux_gate + $.use.gem_test_pack + $.run.test_ecosystem,
577
549
578
- "ruby-test-compiler-graal-core" : linux_gate + $.use.build + $.use.truffleruby + $.graal.core +
579
- $.run.test_compiler,
550
+ "ruby-test-compiler-graal-core" : linux_gate + $.use.truffleruby + $.graal.core + $.run.test_compiler,
580
551
# TODO was commented out, needs to be rewritten?
581
552
# {name: "ruby-test-compiler-graal-enterprise"} + linux_gate + $.graal_enterprise + {run: jt(["test", "compiler"])},
582
553
} +
583
554
584
555
{
585
556
local darwin_gate = $.platform.darwin + $.cap.gate + $.jdk.labsjdk8 + $.use.common + $.use.build + { timelimit: "01:00:00" },
586
557
587
- "ruby-test-mri-darwin" : darwin_gate + $.run.test_mri,
558
+ "ruby-test-specs-darwin" : darwin_gate + $.run.test_unit_tck_specs + { timelimit: "35:00" },
559
+ "ruby-test-mri-darwin" : darwin_gate + $.run.test_mri,
588
560
"ruby-test-cexts-darwin" : darwin_gate + $.use.gem_test_pack + $.run.test_cexts,
589
561
} +
590
562
@@ -603,7 +575,7 @@ local composition_environment = utils.add_inclusion_tracking(part_definitions, "
603
575
} + {
604
576
local shared = $.use.build + $.svm.enterprise + { timelimit: "01:15:00" },
605
577
606
- "ruby-test-svm-graal-enterprise-linux" : shared + svm_test_platforms.linux + $.cap.fast_cpu ,
578
+ "ruby-test-svm-graal-enterprise-linux" : shared + svm_test_platforms.linux,
607
579
"ruby-test-svm-graal-enterprise-darwin" : shared + svm_test_platforms.darwin,
608
580
},
609
581
0 commit comments