diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-06-23 16:14:57 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-06-24 11:00:21 +0200 |
commit | 9da0183f3bf6ba88f5e9c057809b7ccae99b7af2 (patch) | |
tree | 91408040b1d9dd3ff56d36840d01c4316ec9c681 /onlineupdate/qa | |
parent | a2636093643a57ddd5d235246a9736e3352f3bd3 (diff) |
updater: add a one step update test
Change-Id: I548504ecc5fd2403596ad6eb5af116e4a46ddc35
Diffstat (limited to 'onlineupdate/qa')
-rw-r--r-- | onlineupdate/qa/single_step/Makefile | 27 | ||||
-rw-r--r-- | onlineupdate/qa/single_step/complete_signed.mar | bin | 0 -> 2025 bytes | |||
-rw-r--r-- | onlineupdate/qa/single_step/incremental_signed.mar | bin | 0 -> 730 bytes | |||
-rw-r--r-- | onlineupdate/qa/single_step/single_step.zip | bin | 0 -> 1271 bytes |
4 files changed, 27 insertions, 0 deletions
diff --git a/onlineupdate/qa/single_step/Makefile b/onlineupdate/qa/single_step/Makefile new file mode 100644 index 000000000000..24879f1e7e6e --- /dev/null +++ b/onlineupdate/qa/single_step/Makefile @@ -0,0 +1,27 @@ +gb_Side := host +include ../../../config_host.mk + +UPDATER_DIR := $(WORKDIR)/updater/single_step + +all : call + +unpack: + @echo "Unpacking the updater test project" + @rm -r $(UPDATER_DIR) || true + @mkdir -p $(WORKDIR)/updater/ + @unzip single_step.zip -d $(WORKDIR)/updater > /dev/null + @mkdir -p $(UPDATER_DIR)/patch + +call-complete: unpack + @echo "Update the test project" + @cp complete_signed.mar $(UPDATER_DIR)/patch/update.mar + @$(INSTDIR)/program/updater $(UPDATER_DIR)/patch $(UPDATER_DIR) $(UPDATER_DIR) 0 + +call-incremental: unpack + @echo "Update the test project" + @cp incremental_signed.mar $(UPDATER_DIR)/patch/update.mar + @$(INSTDIR)/program/updater $(UPDATER_DIR)/patch $(UPDATER_DIR) $(UPDATER_DIR) 0 + +call-gdb: unpack + @cp incremental_signed.mar $(UPDATER_DIR)/patch/update.mar + gdb --args $(INSTDIR)/program/updater $(UPDATER_DIR)/patch $(UPDATER_DIR) $(UPDATER_DIR) 0 diff --git a/onlineupdate/qa/single_step/complete_signed.mar b/onlineupdate/qa/single_step/complete_signed.mar Binary files differnew file mode 100644 index 000000000000..7b0631dd338a --- /dev/null +++ b/onlineupdate/qa/single_step/complete_signed.mar diff --git a/onlineupdate/qa/single_step/incremental_signed.mar b/onlineupdate/qa/single_step/incremental_signed.mar Binary files differnew file mode 100644 index 000000000000..6ec6e7a1a919 --- /dev/null +++ b/onlineupdate/qa/single_step/incremental_signed.mar diff --git a/onlineupdate/qa/single_step/single_step.zip b/onlineupdate/qa/single_step/single_step.zip Binary files differnew file mode 100644 index 000000000000..823a590e08b4 --- /dev/null +++ b/onlineupdate/qa/single_step/single_step.zip |