summaryrefslogtreecommitdiff
path: root/onlineupdate
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-06-17 10:49:08 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-06-17 13:14:50 +0200
commit44f75d653b972a581bb888868a0cb9f08f625974 (patch)
tree3e39b602a220340b0774607ad64f820844589ad3 /onlineupdate
parent0a0e569d514af571ad5d12959ceda58fa0f194a0 (diff)
updater: move the data location for the replacement test
Change-Id: I6b3bbe9dda2461ed83ef8b4e15179ad345c08bd4
Diffstat (limited to 'onlineupdate')
-rw-r--r--onlineupdate/qa/replace_request/Makefile11
-rw-r--r--onlineupdate/qa/replace_request/updater.zipbin1523 -> 1519 bytes
2 files changed, 7 insertions, 4 deletions
diff --git a/onlineupdate/qa/replace_request/Makefile b/onlineupdate/qa/replace_request/Makefile
index 5b240c356d01..476e93213cca 100644
--- a/onlineupdate/qa/replace_request/Makefile
+++ b/onlineupdate/qa/replace_request/Makefile
@@ -1,14 +1,17 @@
gb_Side := host
include ../../../config_host.mk
+UPDATER_DIR := $(WORKDIR)/updater/replace_request
+
unpack:
@echo "Unpacking the updater test project"
- @rm -r $(WORKDIR)/updater || true
- @unzip updater.zip -d $(WORKDIR) > /dev/null
+ @rm -r $(UPDATER_DIR) || true
+ @mkdir -p $(WORKDIR)/updater
+ @unzip updater.zip -d $(WORKDIR)/updater > /dev/null
call: unpack
@echo "Update the test project"
- @$(INSTDIR)/program/updater $(WORKDIR)/updater/user/patch $(WORKDIR)/updater $(WORKDIR)/updater/user/update /replace
+ @$(INSTDIR)/program/updater $(UPDATER_DIR)/user/patch $(UPDATER_DIR) $(UPDATER_DIR)/user/update /replace
call-gdb: unpack
- gdb --args $(INSTDIR)/program/updater $(WORKDIR)/updater/user/patch $(WORKDIR)/updater $(WORKDIR)/updater/user/update /replace
+ gdb --args $(INSTDIR)/program/updater $(UPDATER_DIR)/user/patch $(UPDATER_DIR) $(UPDATER_DIR)/user/update /replace
diff --git a/onlineupdate/qa/replace_request/updater.zip b/onlineupdate/qa/replace_request/updater.zip
index 79b8f8ec78ec..dc5e26b0f258 100644
--- a/onlineupdate/qa/replace_request/updater.zip
+++ b/onlineupdate/qa/replace_request/updater.zip
Binary files differ