Skip to content

Commit d9dbd5d

Browse files
committed
8256430: add linux-x64-optimized to regular testing
Reviewed-by: kvn, dcubed, vlivanov, erikj
1 parent 9efbb46 commit d9dbd5d

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

make/conf/jib-profiles.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,12 @@ var getJibProfilesCommon = function (input, data) {
275275
configure_args: ["--with-debug-level=slowdebug"],
276276
labels: "slowdebug"
277277
};
278+
// Extra settings for optimized profiles
279+
common.optimized_suffix = "-optimized";
280+
common.optimized_profile_base = {
281+
configure_args: ["--with-debug-level=optimized"],
282+
labels: "optimized",
283+
};
278284
// Extra settings for openjdk only profiles
279285
common.open_suffix = "-open";
280286
common.open_profile_base = {
@@ -517,6 +523,13 @@ var getJibProfilesProfiles = function (input, common, data) {
517523
profiles[debugName] = concatObjects(profiles[name],
518524
common.slowdebug_profile_base);
519525
});
526+
// Generate optimized versions of all the main profiles
527+
common.main_profile_names.forEach(function (name) {
528+
var optName = name + common.optimized_suffix;
529+
profiles[optName] = concatObjects(profiles[name],
530+
common.optimized_profile_base);
531+
profiles[optName].default_make_targets = [ "hotspot" ];
532+
});
520533
// Generate testmake profiles for the main profile of each build host
521534
// platform. This profile only runs the makefile tests.
522535
// Ant is needed to run the idea project generator test.

0 commit comments

Comments
 (0)