resolved conflicts for merge of 80fa947b
to master
Change-Id: I0febb15b690932ad342da4b10eb9c0f13d1d1517
This commit is contained in:
commit
393dde5525
|
@ -116,6 +116,7 @@ LOCAL_PROTOC_FLAGS:=
|
||||||
LOCAL_NO_CRT:=
|
LOCAL_NO_CRT:=
|
||||||
LOCAL_PROPRIETARY_MODULE:=
|
LOCAL_PROPRIETARY_MODULE:=
|
||||||
LOCAL_MODULE_OWNER:=
|
LOCAL_MODULE_OWNER:=
|
||||||
|
LOCAL_CTS_TEST_PACKAGE:=
|
||||||
|
|
||||||
# Trim MAKEFILE_LIST so that $(call my-dir) doesn't need to
|
# Trim MAKEFILE_LIST so that $(call my-dir) doesn't need to
|
||||||
# iterate over thousands of entries every time.
|
# iterate over thousands of entries every time.
|
||||||
|
|
|
@ -42,7 +42,7 @@ DEFAULT_TEST_PLAN := $(cts_dir)/$(cts_name)/resource/plans
|
||||||
$(cts_dir)/all_cts_files_stamp: PRIVATE_JUNIT_HOST_JAR := $(junit_host_jar)
|
$(cts_dir)/all_cts_files_stamp: PRIVATE_JUNIT_HOST_JAR := $(junit_host_jar)
|
||||||
|
|
||||||
-include cts/CtsHostLibraryList.mk
|
-include cts/CtsHostLibraryList.mk
|
||||||
$(cts_dir)/all_cts_files_stamp: $(CTS_CASE_LIST) $(junit_host_jar) $(HOSTTESTLIB_JAR) $(CTS_HOST_LIBRARY_JARS) $(TF_JAR) $(CTS_TF_JAR) $(CTS_TF_EXEC_PATH) $(CTS_TF_README_PATH) $(ACP)
|
$(cts_dir)/all_cts_files_stamp: $(CTS_CASE_LIST) $(CTS_TEST_CASES) $(junit_host_jar) $(HOSTTESTLIB_JAR) $(CTS_HOST_LIBRARY_JARS) $(TF_JAR) $(CTS_TF_JAR) $(CTS_TF_EXEC_PATH) $(CTS_TF_README_PATH) $(ACP)
|
||||||
# Make necessary directory for CTS
|
# Make necessary directory for CTS
|
||||||
$(hide) rm -rf $(PRIVATE_CTS_DIR)
|
$(hide) rm -rf $(PRIVATE_CTS_DIR)
|
||||||
$(hide) mkdir -p $(TMP_DIR)
|
$(hide) mkdir -p $(TMP_DIR)
|
||||||
|
@ -53,8 +53,8 @@ $(cts_dir)/all_cts_files_stamp: $(CTS_CASE_LIST) $(junit_host_jar) $(HOSTTESTLIB
|
||||||
# Copy executable and JARs to CTS directory
|
# Copy executable and JARs to CTS directory
|
||||||
$(hide) $(ACP) -fp $(DDMLIB_JAR) $(PRIVATE_JUNIT_HOST_JAR) $(HOSTTESTLIB_JAR) $(CTS_HOST_LIBRARY_JARS) $(TF_JAR) $(CTS_TF_JAR) $(CTS_TF_EXEC_PATH) $(CTS_TF_README_PATH) $(PRIVATE_DIR)/tools
|
$(hide) $(ACP) -fp $(DDMLIB_JAR) $(PRIVATE_JUNIT_HOST_JAR) $(HOSTTESTLIB_JAR) $(CTS_HOST_LIBRARY_JARS) $(TF_JAR) $(CTS_TF_JAR) $(CTS_TF_EXEC_PATH) $(CTS_TF_README_PATH) $(PRIVATE_DIR)/tools
|
||||||
# Change mode of the executables
|
# Change mode of the executables
|
||||||
$(foreach apk,$(CTS_CASE_LIST), \
|
$(foreach apk,$(CTS_CASE_LIST),$(call copy-testcase-apk,$(apk)))
|
||||||
$(call copy-testcase-apk,$(apk)))
|
$(foreach testcase,$(CTS_TEST_CASES),$(call copy-testcase,$(testcase)))
|
||||||
$(hide) touch $@
|
$(hide) touch $@
|
||||||
|
|
||||||
# Generate the test descriptions for the core-tests
|
# Generate the test descriptions for the core-tests
|
||||||
|
@ -165,9 +165,12 @@ APP_SECURITY_LIB := $(cts_dir)/$(cts_name)/repository/testcases/CtsAppSecurityTe
|
||||||
$(APP_SECURITY_LIB): $(HOST_OUT_JAVA_LIBRARIES)/CtsAppSecurityTests.jar $(cts_dir)/all_cts_files_stamp $(ACP)
|
$(APP_SECURITY_LIB): $(HOST_OUT_JAVA_LIBRARIES)/CtsAppSecurityTests.jar $(cts_dir)/all_cts_files_stamp $(ACP)
|
||||||
$(ACP) -fv $(HOST_OUT_JAVA_LIBRARIES)/CtsAppSecurityTests.jar $(APP_SECURITY_LIB)
|
$(ACP) -fv $(HOST_OUT_JAVA_LIBRARIES)/CtsAppSecurityTests.jar $(APP_SECURITY_LIB)
|
||||||
|
|
||||||
|
|
||||||
# Generate the default test plan for User.
|
# Generate the default test plan for User.
|
||||||
# Usage: buildCts.py <testRoot> <ctsOutputDir> <tempDir> <androidRootDir> <docletPath>
|
# Usage: buildCts.py <testRoot> <ctsOutputDir> <tempDir> <androidRootDir> <docletPath>
|
||||||
$(DEFAULT_TEST_PLAN): $(cts_dir)/all_cts_files_stamp $(cts_dir)/all_cts_core_files_stamp $(cts_tools_src_dir)/utils/buildCts.py $(CORE_VM_TEST_TF_DESC) $(CORE_VM_TEST_DESC) $(APP_SECURITY_LIB) $(HOST_OUT_JAVA_LIBRARIES)/descGen.jar
|
|
||||||
|
$(DEFAULT_TEST_PLAN): $(cts_dir)/all_cts_files_stamp $(cts_dir)/all_cts_core_files_stamp $(cts_tools_src_dir)/utils/buildCts.py $(CORE_VM_TEST_TF_DESC) $(CORE_VM_TEST_DESC) $(APP_SECURITY_LIB) $(HOST_OUT_JAVA_LIBRARIES)/descGen.jar $(CTS_TEST_XMLS) | $(ACP)
|
||||||
|
$(hide) $(ACP) -fp $(CTS_TEST_XMLS) $(PRIVATE_DIR)/repository/testcases
|
||||||
$(hide) $(cts_tools_src_dir)/utils/buildCts.py cts/tests/tests/ $(PRIVATE_DIR) $(TMP_DIR) \
|
$(hide) $(cts_tools_src_dir)/utils/buildCts.py cts/tests/tests/ $(PRIVATE_DIR) $(TMP_DIR) \
|
||||||
$(TOP) $(HOST_OUT_JAVA_LIBRARIES)/descGen.jar
|
$(TOP) $(HOST_OUT_JAVA_LIBRARIES)/descGen.jar
|
||||||
|
|
||||||
|
@ -194,3 +197,9 @@ $(hide) $(ACP) -fp $(call intermediates-dir-for,APPS,$(1))/package.apk \
|
||||||
$(PRIVATE_DIR)/repository/testcases/$(1).apk
|
$(PRIVATE_DIR)/repository/testcases/$(1).apk
|
||||||
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define copy-testcase
|
||||||
|
|
||||||
|
$(hide) $(ACP) -fp $(1) $(PRIVATE_DIR)/repository/testcases/$(notdir $1)
|
||||||
|
|
||||||
|
endef
|
||||||
|
|
Loading…
Reference in New Issue