summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--onlineupdate/qa/updater/Makefile14
-rw-r--r--onlineupdate/qa/updater/README1
-rw-r--r--onlineupdate/qa/updater/updater.zipbin0 -> 1523 bytes
3 files changed, 15 insertions, 0 deletions
diff --git a/onlineupdate/qa/updater/Makefile b/onlineupdate/qa/updater/Makefile
new file mode 100644
index 000000000000..5b240c356d01
--- /dev/null
+++ b/onlineupdate/qa/updater/Makefile
@@ -0,0 +1,14 @@
+gb_Side := host
+include ../../../config_host.mk
+
+unpack:
+ @echo "Unpacking the updater test project"
+ @rm -r $(WORKDIR)/updater || true
+ @unzip updater.zip -d $(WORKDIR) > /dev/null
+
+call: unpack
+ @echo "Update the test project"
+ @$(INSTDIR)/program/updater $(WORKDIR)/updater/user/patch $(WORKDIR)/updater $(WORKDIR)/updater/user/update /replace
+
+call-gdb: unpack
+ gdb --args $(INSTDIR)/program/updater $(WORKDIR)/updater/user/patch $(WORKDIR)/updater $(WORKDIR)/updater/user/update /replace
diff --git a/onlineupdate/qa/updater/README b/onlineupdate/qa/updater/README
new file mode 100644
index 000000000000..dab8d8a753db
--- /dev/null
+++ b/onlineupdate/qa/updater/README
@@ -0,0 +1 @@
+After calling 'make call' the content in workdir/updater/program/datei.txt should say "new".
diff --git a/onlineupdate/qa/updater/updater.zip b/onlineupdate/qa/updater/updater.zip
new file mode 100644
index 000000000000..79b8f8ec78ec
--- /dev/null
+++ b/onlineupdate/qa/updater/updater.zip
Binary files differ