Fix buildCts.py Source Path
The buildCts.py script runs a JavaDoc command over the Android
java packages with a custom doclet that generates XML files that
CTS uses to create its test plans. Unfortunately, JavaDoc decides
to ignore a class if one of the classes in its inheritance hierarchy
is not found. Since the source path for frameworks/base/test-runner
was incorrect, all ActivityInstrumentationTestCases were being
excluded from the build. Fixing the source path should add roughly
1500 tests back into the CTS.
Change-Id: I4f7c0c9d4a25c45b46390254ca94e0806a8e43cd
diff --git a/tools/utils/buildCts.py b/tools/utils/buildCts.py
index 1f1967f..b3e9183 100755
--- a/tools/utils/buildCts.py
+++ b/tools/utils/buildCts.py
@@ -93,7 +93,7 @@
# Annotation classes are also required, since test annotations go into the description.
source_path = [
'frameworks/base/core/java', # android test classes
- 'frameworks/base/test-runner', # test runner
+ 'frameworks/base/test-runner/src', # test runner
'dalvik/libcore/junit/src/main/java', # junit classes
'development/tools/hosttestlib/src', # hosttestlib TestCase extensions
'dalvik/libcore/dalvik/src/main/java', # test annotations