Merge "Fix "filename too long" issue on Luci caused by test name"
This commit is contained in:
commit
ed35a90d2c
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue