Hello,

        guile-clutter
          clutter-devel: fixing make check

Patch review solicited: note that I am autotool kind of blind.  Thanks to 
Ludovic who
kindly suggested, on irc, the corrections to be made, but please double check, 
tx.

I think this patch should probably be also applied to the clutter branch as well
otherwise make check will raise a bug (unless using an old automake version), 
wdyt?

Thanks,
David

ps:     out of curiosity, any one knows the exact version of automake from which
        the actual tests.mk code would raise a bug? Should I mention that in the
        commit message?

From ad24ba7d76f8232b9f4a0c9d92a74c68df828314 Mon Sep 17 00:00:00 2001
From: David PIROTTE <da...@altosw.be>
Date: Sat, 19 Apr 2014 14:51:05 -0300
Subject: [PATCH] fixing make check
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

* tests.mk: TESTS_ENVIRONMENT variable definition split into
  TESTS_ENVIRONMENT, SCM_LOG_COMPILER and TEST_EXTENSIONS has
  requested by recent automake versions.

  Thanks to Ludovic Courtés who suggested this fix on irc.  See
  info "(automake) Parallel Test Harness" for further details.
---
 tests.mk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests.mk b/tests.mk
index 87abd3b..f6676f3 100644
--- a/tests.mk
+++ b/tests.mk
@@ -34,7 +34,9 @@ WRAPSET_TESTS_ENV = WRAPSET_MODULES="$(wrapset_modules)" WRAPSET_API_FILE=$(srcd
 DEV_ENV = $(top_builddir)/dev-environ
 GUILE=$(if $(findstring glib,$(AG_PACKAGES)),guile,guile-gnome-$(API_VERSION))
 
-TESTS_ENVIRONMENT=$(WRAPSET_TESTS_ENV) $(DEV_ENV) $(GUILE) $(GUILE_FLAGS) -e main -s
+TESTS_ENVIRONMENT=$(WRAPSET_TESTS_ENV) $(DEV_ENV)
+SCM_LOG_COMPILER = $(GUILE) $(GUILE_FLAGS) -e main -s
+TEST_EXTENSIONS = .scm
 
 wrapset.api.update:
 	$(WRAPSET_TESTS_ENV) $(DEV_ENV)	$(GUILE) -e update-api -s $(srcdir)/wrapset.scm
-- 
1.9.1

Reply via email to