[vala/wip/ci: 1/6] tests: Adjust for fuzzy generated GIR header
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/wip/ci: 1/6] tests: Adjust for fuzzy generated GIR header
- Date: Sun, 28 Apr 2019 10:21:26 +0000 (UTC)
commit c3db5c677e0ae279c860d32b5ad3f9e58a1d010e
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Sun Apr 28 12:18:57 2019 +0200
tests: Adjust for fuzzy generated GIR header
In addition to fd3fedf3e7fd56162e5721d9e7487784b009c75b
tests/girwriter/GirTest-1.0.gir-expected | 2 --
tests/girwriter/Makefile.am | 2 +-
2 files changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/tests/girwriter/GirTest-1.0.gir-expected b/tests/girwriter/GirTest-1.0.gir-expected
index 7825333d1..ab8c7f49d 100644
--- a/tests/girwriter/GirTest-1.0.gir-expected
+++ b/tests/girwriter/GirTest-1.0.gir-expected
@@ -1,5 +1,3 @@
-<?xml version="1.0"?>
-<!-- GirTest-1.0.gir generated by valac, do not modify. -->
<repository version="1.2" xmlns="http://www.gtk.org/introspection/core/1.0"
xmlns:c="http://www.gtk.org/introspection/c/1.0" xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
<include name="GObject" version="2.0"/>
<include name="GLib" version="2.0"/>
diff --git a/tests/girwriter/Makefile.am b/tests/girwriter/Makefile.am
index 9adfe679e..f5770e9cd 100644
--- a/tests/girwriter/Makefile.am
+++ b/tests/girwriter/Makefile.am
@@ -11,7 +11,7 @@ check-girwriter: $(top_builddir)/compiler/valac
--shared-library girtest \
$(srcdir)/girtest.vala; \
tail -n +3 girtest.vapi | diff -wu $(srcdir)/girtest.vapi-expected - || exit 1; \
- diff -wu $(srcdir)/GirTest-1.0.gir-expected GirTest-1.0.gir || exit 1; \
+ tail -n +3 GirTest-1.0.gir | diff -wu $(srcdir)/GirTest-1.0.gir-expected - || exit 1; \
rm -f GirTest-1.0.gir girtest.vapi girtest.c
check: check-girwriter
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]