soong_zip: Add tests
Add test that cover basic command line usage of soong_zip. -D
is not covered yet as the implementation will be replaced with
one that is also more easily testable in the next patch.
Bug: 116751500
Test: zip_test.go
Change-Id: I5a1bcee74ebc9cb3cf332c36f89bc12c0e807ad2
diff --git a/zip/cmd/main.go b/zip/cmd/main.go
index a2fbf41..1125602 100644
--- a/zip/cmd/main.go
+++ b/zip/cmd/main.go
@@ -187,7 +187,7 @@
os.Exit(1)
}
- err := zip.Run(zip.ZipArgs{
+ err := zip.Zip(zip.ZipArgs{
FileArgs: fileArgsBuilder.FileArgs(),
OutputFilePath: *out,
EmulateJar: *emulateJar,