From 164e7967b1f47586338805e2ebfdee02a5de85db Mon Sep 17 00:00:00 2001 From: Makoto Onuki Date: Thu, 6 Jul 2017 16:20:11 -0700 Subject: Bit: support running all tests in a java package. If a target name ends with a period, treat it as a package name and run with "-e package" instead of "-e class". Test: bit CtsProviderTestCases:android.provider.cts.contacts. Change-Id: I3a9a0cbef76f57c46c41bf168b7e94eebecaf671 --- tools/bit/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tools/bit/main.cpp') diff --git a/tools/bit/main.cpp b/tools/bit/main.cpp index d056ba53ca84..4c68b02ddf60 100644 --- a/tools/bit/main.cpp +++ b/tools/bit/main.cpp @@ -342,6 +342,10 @@ print_usage(FILE* out) { fprintf(out, " Builds and installs CtsProtoTestCases.apk, and runs the testWrite\n"); fprintf(out, " and testRepeated test methods on that class.\n"); fprintf(out, "\n"); + fprintf(out, " bit CtsProtoTestCases:android.util.proto.cts.\n"); + fprintf(out, " Builds and installs CtsProtoTestCases.apk, and runs the tests in the java package\n"); + fprintf(out, " \"android.util.proto.cts\".\n"); + fprintf(out, "\n"); fprintf(out, " Launching an Activity\n"); fprintf(out, " ---------------------\n"); fprintf(out, " To launch an activity, specify the activity class name after\n"); -- cgit v1.2.3-59-g8ed1b