platform_system_core/cli-test/Android.bp
Elliott Hughes f276140d0f cli-test: a tool for testing command-line programs.
Not looking for other users right now, this is just enough to test
unzip/zip/zipinfo.

This includes tests for unzip and ziptool, along with a change to
unzip's behavior to fix AOSP `make dist` when using ziptool unzip.

Also add the boilerplate to run these tests on the device, in presubmit.

Fix command name in --help output.

Test: atest ziptool-tests
Change-Id: I5c0215a3ab8cb2cd5fc517ed9c188f81a7bf4520
2019-12-13 12:23:51 -08:00

7 lines
154 B
Text

cc_binary {
name: "cli-test",
host_supported: true,
srcs: ["cli-test.cpp"],
cflags: ["-Wall", "-Werror"],
shared_libs: ["libbase"],
}