am 14d43108
: Merge "Add Junit4 to the classpath for CollectAllTests"
* commit '14d4310803ee2b9811a7adb381a2ca54b96aefe2': Add Junit4 to the classpath for CollectAllTests
This commit is contained in:
commit
b4ada1cc94
1 changed files with 3 additions and 3 deletions
|
@ -76,7 +76,7 @@ define generate-core-test-description
|
||||||
@echo "Generate core-test description ("$(notdir $(1))")"
|
@echo "Generate core-test description ("$(notdir $(1))")"
|
||||||
$(hide) java -Xmx256M \
|
$(hide) java -Xmx256M \
|
||||||
-Xbootclasspath/a:$(PRIVATE_CLASSPATH) \
|
-Xbootclasspath/a:$(PRIVATE_CLASSPATH) \
|
||||||
-classpath $(PRIVATE_CLASSPATH):$(HOST_OUT_JAVA_LIBRARIES)/descGen.jar:$(HOST_JDK_TOOLS_JAR) \
|
-classpath $(PRIVATE_CLASSPATH):$(HOST_OUT_JAVA_LIBRARIES)/descGen.jar:$(HOST_OUT_JAVA_LIBRARIES)/junit.jar:$(HOST_JDK_TOOLS_JAR) \
|
||||||
$(PRIVATE_PARAMS) CollectAllTests $(1) $(2) $(3) "$(4)" $(5) $(6)
|
$(PRIVATE_PARAMS) CollectAllTests $(1) $(2) $(3) "$(4)" $(5) $(6)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -105,7 +105,7 @@ $(CTS_CORE_XMLS): PRIVATE_CLASSPATH:=$(GEN_CLASSPATH)
|
||||||
# build system requires that dependencies use javalib.jar. If
|
# build system requires that dependencies use javalib.jar. If
|
||||||
# javalib.jar is up-to-date, then classes.jar is as well. Depending
|
# javalib.jar is up-to-date, then classes.jar is as well. Depending
|
||||||
# on classes.jar will build the files incorrectly.
|
# on classes.jar will build the files incorrectly.
|
||||||
$(CTS_CORE_XMLS): $(CTS_CORE_CASES) $(HOST_OUT_JAVA_LIBRARIES)/descGen.jar $(CORE_INTERMEDIATES)/javalib.jar $(BOUNCYCASTLE_INTERMEDIATES)/javalib.jar $(APACHEXML_INTERMEDIATES)/javalib.jar $(OKHTTP_INTERMEDIATES)/javalib.jar $(SQLITEJDBC_INTERMEDIATES)/javalib.jar $(JUNIT_INTERMEDIATES)/javalib.jar $(CORETESTS_INTERMEDIATES)/javalib.jar | $(ACP)
|
$(CTS_CORE_XMLS): $(CTS_CORE_CASES) $(HOST_OUT_JAVA_LIBRARIES)/descGen.jar $(HOST_OUT_JAVA_LIBRARIES)/junit.jar $(CORE_INTERMEDIATES)/javalib.jar $(BOUNCYCASTLE_INTERMEDIATES)/javalib.jar $(APACHEXML_INTERMEDIATES)/javalib.jar $(OKHTTP_INTERMEDIATES)/javalib.jar $(SQLITEJDBC_INTERMEDIATES)/javalib.jar $(JUNIT_INTERMEDIATES)/javalib.jar $(CORETESTS_INTERMEDIATES)/javalib.jar | $(ACP)
|
||||||
$(hide) mkdir -p $(CTS_TESTCASES_OUT)
|
$(hide) mkdir -p $(CTS_TESTCASES_OUT)
|
||||||
$(call generate-core-test-description,$(CTS_TESTCASES_OUT)/android.core.tests.libcore.package.dalvik,\
|
$(call generate-core-test-description,$(CTS_TESTCASES_OUT)/android.core.tests.libcore.package.dalvik,\
|
||||||
cts/tests/core/libcore/dalvik/AndroidManifest.xml,\
|
cts/tests/core/libcore/dalvik/AndroidManifest.xml,\
|
||||||
|
@ -144,7 +144,7 @@ GEN_CLASSPATH := $(CORE_INTERMEDIATES)/classes.jar:$(JUNIT_INTERMEDIATES)/classe
|
||||||
|
|
||||||
$(CORE_VM_TEST_TF_DESC): PRIVATE_CLASSPATH:=$(GEN_CLASSPATH)
|
$(CORE_VM_TEST_TF_DESC): PRIVATE_CLASSPATH:=$(GEN_CLASSPATH)
|
||||||
# Please see big comment above on why this line depends on javalib.jar instead of classes.jar
|
# Please see big comment above on why this line depends on javalib.jar instead of classes.jar
|
||||||
$(CORE_VM_TEST_TF_DESC): $(HOST_OUT_JAVA_LIBRARIES)/descGen.jar $(CORE_INTERMEDIATES)/javalib.jar $(JUNIT_INTERMEDIATES)/javalib.jar $(VMTESTSTF_JAR) $(DDMLIB_JAR) | $(ACP)
|
$(CORE_VM_TEST_TF_DESC): $(HOST_OUT_JAVA_LIBRARIES)/descGen.jar $(HOST_OUT_JAVA_LIBRARIES)/junit.jar $(CORE_INTERMEDIATES)/javalib.jar $(JUNIT_INTERMEDIATES)/javalib.jar $(VMTESTSTF_JAR) $(DDMLIB_JAR) | $(ACP)
|
||||||
$(hide) mkdir -p $(CTS_TESTCASES_OUT)
|
$(hide) mkdir -p $(CTS_TESTCASES_OUT)
|
||||||
$(call generate-core-test-description,$(CTS_TESTCASES_OUT)/android.core.vm-tests-tf,\
|
$(call generate-core-test-description,$(CTS_TESTCASES_OUT)/android.core.vm-tests-tf,\
|
||||||
cts/tests/vm-tests-tf/AndroidManifest.xml,\
|
cts/tests/vm-tests-tf/AndroidManifest.xml,\
|
||||||
|
|
Loading…
Reference in a new issue