@@ -75,7 +75,7 @@ local part_definitions = {
75
75
environment+: { path+:: ["$MAVEN_HOME/bin" ] },
76
76
},
77
77
78
- build_no_clean : {
78
+ build : {
79
79
setup+: [["mx" , "sversions" ]] +
80
80
# aot-build.log is used for the build-stats metrics, in other cases it does no harm
81
81
jt(["build" , "--env" , self .mx_env, "--" ] + self .mx_build_options + ["|" , "tee" , "aot-build.log" ]) +
@@ -85,13 +85,6 @@ local part_definitions = {
85
85
],
86
86
},
87
87
88
- clean: {
89
- # Clean build results to make sure nothing refers to them while testing
90
- setup+: [["mx" , "--env" , self .mx_env, "clean" ]],
91
- },
92
-
93
- build: $.use.build_no_clean + $.use.clean,
94
-
95
88
truffleruby: {
96
89
"$.benchmark.server" :: { options: [] },
97
90
environment+: {
@@ -294,13 +287,7 @@ local part_definitions = {
294
287
},
295
288
296
289
run: {
297
- clean: {
298
- # $.use.clean but as run instead of setup
299
- run+: [["mx" , "--env" , self .mx_env, "clean" ]],
300
- },
301
-
302
290
test_unit_tck: {
303
- # Run unittests first before cleaning, they need a full non-cleaned build
304
291
run+: jt(["test" , "unit" , "--verbose" ]) +
305
292
jt(["test" , "tck" ])
306
293
},
@@ -324,7 +311,7 @@ local part_definitions = {
324
311
},
325
312
326
313
lint: {
327
- is_after:: ["$.use.build_no_clean " ],
314
+ is_after:: ["$.use.build " ],
328
315
downloads+: {
329
316
JDT: { name: "ecj" , version: "4.14.0" , platformspecific: false },
330
317
ECLIPSE: { version: "4.5.2" , name: "eclipse" , platformspecific: true },
@@ -482,7 +469,7 @@ local composition_environment = utils.add_inclusion_tracking(part_definitions, "
482
469
483
470
test_builds:
484
471
{
485
- "ruby-lint" : $.platform.linux + $.cap.gate + $.jdk.v11 + $.use.common + $.env.jvm + $.use.build_no_clean + $.run.lint + { timelimit: "30:00" },
472
+ "ruby-lint" : $.platform.linux + $.cap.gate + $.jdk.v11 + $.use.common + $.env.jvm + $.use.build + $.run.lint + { timelimit: "30:00" },
486
473
# Run specs on MRI to make sure new specs are compatible and have the needed version guards
487
474
"ruby-test-specs-mri" : $.platform.linux + $.cap.gate + $.use.common + $.run.test_specs_mri + { timelimit: "30:00" },
488
475
} +
@@ -494,10 +481,10 @@ local composition_environment = utils.add_inclusion_tracking(part_definitions, "
494
481
local native_tests = $.run.testdownstream_aot + $.run.test_integration + $.run.test_compiler,
495
482
496
483
// Order: platform, jdk, mx_env. Keep aligned for an easy visual comparison.
497
- "ruby-test-specs-linux-8" : $.platform.linux + $.jdk.v8 + $.env.jvm + gate_no_build + $.use.build_no_clean + $.run.test_unit_tck + native_config + $.run.clean + $.run.test_specs + { timelimit: "50:00" },
498
- "ruby-test-specs-linux-11" : $.platform.linux + $.jdk.v11 + $.env.jvm + gate_no_build + $.use.build_no_clean + $.run.test_unit_tck + native_config + $.run.clean + $.run.test_specs + { timelimit: "50:00" },
499
- "ruby-test-specs-darwin-8" : $.platform.darwin + $.jdk.v8 + $.env.jvm + gate_no_build + $.use.build_no_clean + $.run.test_unit_tck + native_config + $.run.clean + $.run.test_specs + { timelimit: "01:35:00" },
500
- "ruby-test-specs-darwin-11" : $.platform.darwin + $.jdk.v11 + $.env.jvm + gate_no_build + $.use.build_no_clean + $.run.test_unit_tck + native_config + $.run.clean + $.run.test_specs + { timelimit: "01:35:00" },
484
+ "ruby-test-specs-linux-8" : $.platform.linux + $.jdk.v8 + $.env.jvm + gate_no_build + $.use.build + $.run.test_unit_tck + native_config + $.run.test_specs + { timelimit: "50:00" },
485
+ "ruby-test-specs-linux-11" : $.platform.linux + $.jdk.v11 + $.env.jvm + gate_no_build + $.use.build + $.run.test_unit_tck + native_config + $.run.test_specs + { timelimit: "50:00" },
486
+ "ruby-test-specs-darwin-8" : $.platform.darwin + $.jdk.v8 + $.env.jvm + gate_no_build + $.use.build + $.run.test_unit_tck + native_config + $.run.test_specs + { timelimit: "01:35:00" },
487
+ "ruby-test-specs-darwin-11" : $.platform.darwin + $.jdk.v11 + $.env.jvm + gate_no_build + $.use.build + $.run.test_unit_tck + native_config + $.run.test_specs + { timelimit: "01:35:00" },
501
488
"ruby-test-fast-linux-arm64" : $.platform.linux_arm64 + $.jdk.v11 + $.env.jvm + gate + $.run.test_fast + native_config + { timelimit: "30:00" },
502
489
"ruby-test-fast-linux" : $.platform.linux + $.jdk.v11 + $.env.jvm + gate + $.run.test_fast + { timelimit: "30:00" }, # To catch missing slow tags
503
490
"ruby-test-mri-linux" : $.platform.linux + $.jdk.v11 + $.env.jvm + gate + $.run.test_mri + { timelimit: "45:00" },
0 commit comments