Age | Commit message (Collapse) | Author |
|
Panicking in ModuleForTests and similar test helper functions was
a mistake. Go's test runner stops running tests as soon as any
test panics, which means debugging multiple tests panicking requires
rerunning all the tests after fixing each panic to find the next
one. Pass the *testing.T into ModuleForTests and friends so that
it can call t.Fatalf instead.
Test: all soong tests pass
Change-Id: I5d0f2424eaf04fb795079e6d1e4b9469d8c7033c
|
|
Right now singletons have to dist files in either in MakeVars providers.
Allow dist from GenerateBuildActions so that we can further remove our
reliance on make.
Bug: 395184523
Test: m nothing --no-skip-soong-tests
Change-Id: Ie3004c2b038b45754279dfadcb7f7455ae740136
|
|
Right now you have to dist files in either the AndroidMk stuff,
or in MakeVars providers. Allow calling it from
GenerateAndroidBuildActions so that we can further remove our reliance
on make.
Bug: 395184523
Test: m nothing --no-skip-soong-tests
Change-Id: I6ad12fa89896b86c333fc2d23eaf4f77466e42a3
|