diff options
author | Jinhui Wang <jinhuiw@google.com> | 2016-07-12 16:30:14 -0700 |
---|---|---|
committer | Jinhui Wang <jinhuiw@google.com> | 2016-07-12 16:50:18 -0700 |
commit | 52d915ef231b617a24b57a44371467ecda19cb52 (patch) | |
tree | e679fae38464f10e74e7f7fdba090e5aa1fb28cc | |
parent | ce657a7453bed1d03e99be1aabf21a7a97218cc8 (diff) | |
download | AfwTestHarness-52d915ef231b617a24b57a44371467ecda19cb52.tar.gz |
Exclude intermediate files from the test hanress zip file
Change-Id: I32a4fef08be1e41961bf34be7de63b3bee46d4a9
-rw-r--r-- | AfwTestHarnessBuild.mk | 3 | ||||
-rw-r--r-- | zip_exclude.lst | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/AfwTestHarnessBuild.mk b/AfwTestHarnessBuild.mk index bc351cf..2bd94a1 100644 --- a/AfwTestHarnessBuild.mk +++ b/AfwTestHarnessBuild.mk @@ -62,7 +62,8 @@ $(INTERNAL_AFW_TH_TARGET): TMP_DIR := $(afw_th_dir)/temp $(INTERNAL_AFW_TH_TARGET): $(afw_th_dir)/all_afw_th_files_stamp $(DEFAULT_TEST_PLAN) $(hide) echo "Package Android for Work Test Harness: $@" $(hide) $(ACP) -f $(afw_th_src_dir)/afw-test.props $(PRIVATE_DIR)/repository/testcases - $(hide) cd $(dir $@) && zip -rq $(notdir $@) $(PRIVATE_NAME) + $(hide) $(ACP) -f $(afw_th_src_dir)/zip_exclude.lst $(afw_th_dir) + $(hide) cd $(dir $@) && zip -rq $(notdir $@) $(PRIVATE_NAME) -x@zip_exclude.lst .PHONY: afw-test-harness afw-test-harness: $(INTERNAL_AFW_TH_TARGET) adb diff --git a/zip_exclude.lst b/zip_exclude.lst new file mode 100644 index 0000000..0fbdb2b --- /dev/null +++ b/zip_exclude.lst @@ -0,0 +1,3 @@ +*resource* +*repository/logs* +*repository/results*
\ No newline at end of file |