[vala/staging] tests: Deal with libtool differences resulting in lt-valac vs valac in vapi
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging] tests: Deal with libtool differences resulting in lt-valac vs valac in vapi
- Date: Thu, 2 Aug 2018 13:56:10 +0000 (UTC)
commit a64e29c44a50748c7934ea846dc9875a13a9eaf9
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Thu Aug 2 15:51:53 2018 +0200
tests: Deal with libtool differences resulting in lt-valac vs valac in vapi
tests/girwriter/Makefile.am | 2 +-
tests/girwriter/girtest.vapi-expected | 2 --
2 files changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/tests/girwriter/Makefile.am b/tests/girwriter/Makefile.am
index 75b096d6a..c674d7d23 100644
--- a/tests/girwriter/Makefile.am
+++ b/tests/girwriter/Makefile.am
@@ -8,7 +8,7 @@ check-girwriter: $(top_builddir)/compiler/valac
--gir GirTest-1.0.gir \
--library girtest \
$(srcdir)/girtest.vala; \
- diff -wu $(srcdir)/girtest.vapi-expected girtest.vapi || exit 1; \
+ 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; \
rm -f GirTest-1.0.gir girtest.vapi girtest.c
diff --git a/tests/girwriter/girtest.vapi-expected b/tests/girwriter/girtest.vapi-expected
index 9cea4be07..b6b37542e 100644
--- a/tests/girwriter/girtest.vapi-expected
+++ b/tests/girwriter/girtest.vapi-expected
@@ -1,5 +1,3 @@
-/* girtest.vapi generated by valac, do not modify. */
-
[GIR (gir_namespace = "GirTest", gir_version = "1.0")]
namespace GirTest {
[CCode (cheader_filename = "girtest.h")]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]