8299705: JCov coverage runs depend on jdk_symbols

Reviewed-by: erikj
This commit is contained in:
Alexandre Iline 2023-01-06 18:51:41 +00:00
parent 5eee2a07f5
commit 1f141bd7a9

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2015, 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, 2023, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -944,7 +944,7 @@ var getJibProfilesProfiles = function (input, common, data) {
target_cpu: input.build_cpu,
dependencies: [
"jtreg", "gnumake", "boot_jdk", "devkit", "jib", "jcov", testedProfileJdk,
testedProfileTest, testedProfile + ".jdk_symbols",
testedProfileTest,
],
src: "src.conf",
make_args: testOnlyMake,
@ -958,6 +958,9 @@ var getJibProfilesProfiles = function (input, common, data) {
labels: "test"
}
};
if (!testedProfile.endsWith("-jcov")) {
testOnlyProfilesPrebuilt["run-test-prebuilt"]["dependencies"].push(testedProfile + ".jdk_symbols");
}
// If actually running the run-test-prebuilt profile, verify that the input
// variable is valid and if so, add the appropriate target_* values from