Merge "Fix "filename too long" issue on Luci caused by test name" am: ed35a90d2c
am: 1176680a1e
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1652453 Change-Id: Icfaf4342d2236a45c69db7ab26ff62b72f73d40e
This commit is contained in:
@@ -831,7 +831,7 @@ func TestJavaSdkLibraryEnforce(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
runTest := func(t *testing.T, info testConfigInfo, expectedErrorPattern string) {
|
runTest := func(t *testing.T, info testConfigInfo, expectedErrorPattern string) {
|
||||||
t.Run(fmt.Sprintf("%#v", info), func(t *testing.T) {
|
t.Run(fmt.Sprintf("%v", info), func(t *testing.T) {
|
||||||
errorHandler := android.FixtureExpectsNoErrors
|
errorHandler := android.FixtureExpectsNoErrors
|
||||||
if expectedErrorPattern != "" {
|
if expectedErrorPattern != "" {
|
||||||
errorHandler = android.FixtureExpectsAtLeastOneErrorMatchingPattern(expectedErrorPattern)
|
errorHandler = android.FixtureExpectsAtLeastOneErrorMatchingPattern(expectedErrorPattern)
|
||||||
|
Reference in New Issue
Block a user