Fix the error of androidmk unittest
The unittest checking Android.mk path which is the relative path with "ANDROID_BUILD_TOP". This can be fix with clean it. Bug: 319563069 Test: 1. cd build/soong/androidmk/androidmk 2. go test Change-Id: Iaf6c331abeadfec3416387f416aaebc0ecfa8a21
This commit is contained in:
parent
1c4cc3d40e
commit
d63054e214
1 changed files with 3 additions and 0 deletions
|
@ -1730,6 +1730,9 @@ android_test {
|
|||
}
|
||||
|
||||
func TestEndToEnd(t *testing.T) {
|
||||
// Skip checking Android.mk path with cleaning "ANDROID_BUILD_TOP"
|
||||
t.Setenv("ANDROID_BUILD_TOP", "")
|
||||
|
||||
for i, test := range testCases {
|
||||
expected, err := bpfix.Reformat(test.expected)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in a new issue