[Libreoffice-commits] core.git: onlineupdate/qa
Markus Mohrhard
markus.mohrhard at googlemail.com
Sat Jun 24 09:00:51 UTC 2017
onlineupdate/qa/single_step/Makefile | 27 +++++++++++++++++++++
onlineupdate/qa/single_step/complete_signed.mar |binary
onlineupdate/qa/single_step/incremental_signed.mar |binary
onlineupdate/qa/single_step/single_step.zip |binary
4 files changed, 27 insertions(+)
New commits:
commit 9da0183f3bf6ba88f5e9c057809b7ccae99b7af2
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date: Fri Jun 23 16:14:57 2017 +0200
updater: add a one step update test
Change-Id: I548504ecc5fd2403596ad6eb5af116e4a46ddc35
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
new file mode 100644
index 000000000000..7b0631dd338a
Binary files /dev/null and b/onlineupdate/qa/single_step/complete_signed.mar differ
diff --git a/onlineupdate/qa/single_step/incremental_signed.mar b/onlineupdate/qa/single_step/incremental_signed.mar
new file mode 100644
index 000000000000..6ec6e7a1a919
Binary files /dev/null and b/onlineupdate/qa/single_step/incremental_signed.mar differ
diff --git a/onlineupdate/qa/single_step/single_step.zip b/onlineupdate/qa/single_step/single_step.zip
new file mode 100644
index 000000000000..823a590e08b4
Binary files /dev/null and b/onlineupdate/qa/single_step/single_step.zip differ
More information about the Libreoffice-commits
mailing list