summaryrefslogtreecommitdiff
path: root/onlineupdate
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-06-16 17:30:34 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-06-16 17:33:31 +0200
commitf680b3c0944894a18875ae8046026d48e850b37c (patch)
treee662ee7cc94a81a6cd434cd35348d01cf4410802 /onlineupdate
parent38a91e27f28cc14499f78f0c8bde105b06323916 (diff)
updater: add manual test for new language updates
Change-Id: I6d77039f0cafe0f436cc687bb424588a59c3d464
Diffstat (limited to 'onlineupdate')
-rw-r--r--onlineupdate/qa/lang_packs/Makefile21
-rw-r--r--onlineupdate/qa/lang_packs/update_en_signed.marbin0 -> 667 bytes
-rw-r--r--onlineupdate/qa/lang_packs/update_signed.marbin0 -> 650 bytes
-rw-r--r--onlineupdate/qa/lang_packs/updater_lang.zipbin0 -> 899 bytes
4 files changed, 21 insertions, 0 deletions
diff --git a/onlineupdate/qa/lang_packs/Makefile b/onlineupdate/qa/lang_packs/Makefile
new file mode 100644
index 000000000000..d328472f53bf
--- /dev/null
+++ b/onlineupdate/qa/lang_packs/Makefile
@@ -0,0 +1,21 @@
+gb_Side := host
+include ../../../config_host.mk
+
+UPDATER_DIR := $(WORKDIR)/updater/lang_pack
+
+all : call
+
+unpack:
+ @echo "Unpacking the updater test project"
+ @rm -r $(UPDATER_DIR) || true
+ @mkdir -p $(WORKDIR)/updater/
+ @unzip updater_lang.zip -d $(WORKDIR)/updater > /dev/null
+ @cp update_signed.mar $(UPDATER_DIR)/user/patch/update.mar
+ @cp update_en_signed.mar $(UPDATER_DIR)/user/patch/update_en_signed.mar
+
+call: unpack
+ @echo "Update the test project"
+ @$(INSTDIR)/program/updater $(UPDATER_DIR)/user/patch $(UPDATER_DIR) $(UPDATER_DIR)/user/update -1
+
+call-gdb: unpack
+ gdb --args $(INSTDIR)/program/updater $(UPDATER_DIR)/user/patch $(UPDATER_DIR) $(UPDATER_DIR)/user/update -1
diff --git a/onlineupdate/qa/lang_packs/update_en_signed.mar b/onlineupdate/qa/lang_packs/update_en_signed.mar
new file mode 100644
index 000000000000..89ce8731f433
--- /dev/null
+++ b/onlineupdate/qa/lang_packs/update_en_signed.mar
Binary files differ
diff --git a/onlineupdate/qa/lang_packs/update_signed.mar b/onlineupdate/qa/lang_packs/update_signed.mar
new file mode 100644
index 000000000000..70ddd1ef0cbd
--- /dev/null
+++ b/onlineupdate/qa/lang_packs/update_signed.mar
Binary files differ
diff --git a/onlineupdate/qa/lang_packs/updater_lang.zip b/onlineupdate/qa/lang_packs/updater_lang.zip
new file mode 100644
index 000000000000..05b206bc8905
--- /dev/null
+++ b/onlineupdate/qa/lang_packs/updater_lang.zip
Binary files differ