From f680b3c0944894a18875ae8046026d48e850b37c Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Fri, 16 Jun 2017 17:30:34 +0200 Subject: updater: add manual test for new language updates Change-Id: I6d77039f0cafe0f436cc687bb424588a59c3d464 --- onlineupdate/qa/lang_packs/Makefile | 21 +++++++++++++++++++++ onlineupdate/qa/lang_packs/update_en_signed.mar | Bin 0 -> 667 bytes onlineupdate/qa/lang_packs/update_signed.mar | Bin 0 -> 650 bytes onlineupdate/qa/lang_packs/updater_lang.zip | Bin 0 -> 899 bytes 4 files changed, 21 insertions(+) create mode 100644 onlineupdate/qa/lang_packs/Makefile create mode 100644 onlineupdate/qa/lang_packs/update_en_signed.mar create mode 100644 onlineupdate/qa/lang_packs/update_signed.mar create mode 100644 onlineupdate/qa/lang_packs/updater_lang.zip (limited to 'onlineupdate/qa') 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 Binary files /dev/null and b/onlineupdate/qa/lang_packs/update_en_signed.mar 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 Binary files /dev/null and b/onlineupdate/qa/lang_packs/update_signed.mar 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 Binary files /dev/null and b/onlineupdate/qa/lang_packs/updater_lang.zip differ -- cgit