office-gobmx/onlineupdate/qa/lang_packs/Makefile
Markus Mohrhard f680b3c094 updater: add manual test for new language updates
Change-Id: I6d77039f0cafe0f436cc687bb424588a59c3d464
2017-06-16 17:33:31 +02:00

21 lines
687 B
Makefile

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