Policy change: GPL+CE is permissive.
Bug: 210546823 Test: m cts compliance_checkshare compliancenotice_bom \ compliancenotice_shippedlibs compliance_listshare \ compliance_dumpgraph compliance_dumpresolutions htmlnotice \ compliance_rtrace textnotice xmlnotice Change-Id: I7da36972ffbb1494e33fd63db8e5ec851d47704c
This commit is contained in:
@@ -42,7 +42,7 @@ license_conditions: "restricted"
|
||||
Classpath = `` +
|
||||
`package_name: "Free Software"
|
||||
license_kinds: "SPDX-license-identifier-GPL-2.0-with-classpath-exception"
|
||||
license_conditions: "restricted"
|
||||
license_conditions: "permissive"
|
||||
`
|
||||
|
||||
// DependentModule starts a test metadata file for a module in the same package as `Classpath`.
|
||||
@@ -521,7 +521,7 @@ func checkSame(rsActual, rsExpected ResolutionSet, t *testing.T) {
|
||||
expectedConditions := expectedRl[i].Resolves()
|
||||
actualConditions := actualRl[i].Resolves()
|
||||
if expectedConditions != actualConditions {
|
||||
t.Errorf("unexpected conditions apply to %q acting on %q: got %04x with names %s, want %04x with names %s",
|
||||
t.Errorf("unexpected conditions apply to %q acting on %q: got %#v with names %s, want %#v with names %s",
|
||||
target.name, expectedRl[i].actsOn.name,
|
||||
actualConditions, actualConditions.Names(),
|
||||
expectedConditions, expectedConditions.Names())
|
||||
@@ -586,7 +586,7 @@ func checkResolves(rsActual, rsExpected ResolutionSet, t *testing.T) {
|
||||
expectedConditions := expectedRl[i].Resolves()
|
||||
actualConditions := actualRl[i].Resolves()
|
||||
if expectedConditions != (expectedConditions & actualConditions) {
|
||||
t.Errorf("expected conditions missing from %q acting on %q: got %04x with names %s, want %04x with names %s",
|
||||
t.Errorf("expected conditions missing from %q acting on %q: got %#v with names %s, want %#v with names %s",
|
||||
target.name, expectedRl[i].actsOn.name,
|
||||
actualConditions, actualConditions.Names(),
|
||||
expectedConditions, expectedConditions.Names())
|
||||
|
Reference in New Issue
Block a user