diff options
author | Jean-Baptiste Queru <jbq@google.com> | 2010-10-27 14:59:39 -0700 |
---|---|---|
committer | Android Code Review <code-review@android.com> | 2010-10-27 14:59:39 -0700 |
commit | ba8d47b764a3f4fb53b2cb5fcdc1279f35fadb74 (patch) | |
tree | 074cd56a20de748af2c313a5c1493e00499e7dde | |
parent | 45a971d961426cfecc0b2a73a3060a554eda8a59 (diff) | |
parent | bdb51d7c642fa12607d0c2f362a0453c37ccd2dd (diff) | |
download | build-ba8d47b764a3f4fb53b2cb5fcdc1279f35fadb74.zip build-ba8d47b764a3f4fb53b2cb5fcdc1279f35fadb74.tar.gz build-ba8d47b764a3f4fb53b2cb5fcdc1279f35fadb74.tar.bz2 |
Merge "CTS vm-tests now depend on hosttestlib." into froyo
-rw-r--r-- | core/tasks/cts.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/tasks/cts.mk b/core/tasks/cts.mk index bcec5ab..981c19b 100644 --- a/core/tasks/cts.mk +++ b/core/tasks/cts.mk @@ -27,6 +27,7 @@ CTS_HOST_JAR := $(HOST_OUT_JAVA_LIBRARIES)/cts.jar junit_host_jar := $(HOST_OUT_JAVA_LIBRARIES)/junit.jar HOSTTESTLIB_JAR := $(HOST_OUT_JAVA_LIBRARIES)/hosttestlib.jar +DDMLIB_JAR := $(HOST_OUT_JAVA_LIBRARIES)/ddmlib.jar CTS_CORE_CASE_LIST := android.core.tests.annotation \ android.core.tests.archive \ @@ -176,14 +177,14 @@ VMTESTS_INTERMEDIATES :=$(call intermediates-dir-for,EXECUTABLES,vm-tests,1,) TESTS_INTERMEDIATES :=$(call intermediates-dir-for,JAVA_LIBRARIES,core-tests,,COMMON) CORE_INTERMEDIATES :=$(call intermediates-dir-for,JAVA_LIBRARIES,core,,COMMON) -GEN_CLASSPATH := $(CORE_INTERMEDIATES)/classes.jar:$(TESTS_INTERMEDIATES)/classes.jar:$(VMTESTS_INTERMEDIATES)/android.core.vm-tests.jar:$(HOST_OUT_JAVA_LIBRARIES)/descGen.jar:$(HOST_JDK_TOOLS_JAR) +GEN_CLASSPATH := $(CORE_INTERMEDIATES)/classes.jar:$(TESTS_INTERMEDIATES)/classes.jar:$(VMTESTS_INTERMEDIATES)/android.core.vm-tests.jar:$(HOST_OUT_JAVA_LIBRARIES)/descGen.jar:$(HOSTTESTLIB_JAR):$(DDMLIB_JAR):$(HOST_JDK_TOOLS_JAR) $(CORE_VM_TEST_DESC): PRIVATE_CLASSPATH:=$(GEN_CLASSPATH) $(CORE_VM_TEST_DESC): PRIVATE_PARAMS:=-Dcts.useSuppliedTestResult=true $(CORE_VM_TEST_DESC): PRIVATE_PARAMS+=-Dcts.useEnhancedJunit=true $(CORE_VM_TEST_DESC): PRIVATE_JAVAOPTS:=-Xmx256M # Please see big comment above on why this line depends on javalib.jar instead of classes.jar -$(CORE_VM_TEST_DESC): vm-tests $(HOST_OUT_JAVA_LIBRARIES)/descGen.jar $(CORE_INTERMEDIATES)/javalib.jar $(VMTESTS_INTERMEDIATES)/android.core.vm-tests.jar $(TESTS_INTERMEDIATES)/javalib.jar $(cts_dir)/all_cts_files_stamp | $(ACP) +$(CORE_VM_TEST_DESC): vm-tests $(HOST_OUT_JAVA_LIBRARIES)/descGen.jar $(CORE_INTERMEDIATES)/javalib.jar $(VMTESTS_INTERMEDIATES)/android.core.vm-tests.jar $(TESTS_INTERMEDIATES)/javalib.jar $(HOSTTESTLIB_JAR) $(DDMLIB_JAR) $(cts_dir)/all_cts_files_stamp | $(ACP) $(call generate-core-test-description,$(CORE_VM_TEST_DESC),\ cts/tests/vm-tests/AndroidManifest.xml,\ dot.junit.AllJunitHostTests, cts/tools/vm-tests/Android.mk) |