From 7977bb15de1f19e4f11484779c581a6c08ebdd03 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 1 Jun 2013 18:54:57 -0400 Subject: [PATCH] Skip spawn tests when collecting coverage These tests break gcov's data collection, so don't link them against -lgov. See bug 682133. --- glib/tests/Makefile.am | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/glib/tests/Makefile.am b/glib/tests/Makefile.am index 5753d531e..8dc57f806 100644 --- a/glib/tests/Makefile.am +++ b/glib/tests/Makefile.am @@ -5,6 +5,11 @@ AM_CPPFLAGS = -g $(glib_INCLUDES) $(GLIB_DEBUG_FLAGS) DEFS = -DG_LOG_DOMAIN=\"GLib\" -DEXEEXT=\"$(EXEEXT)\" AM_CFLAGS = $(GLIB_WARN_CFLAGS) +# These tests corrupt the gcov bookkeeping, so we +# skip them. See bug 682133 +spawn_singlethread_LDFLAGS = $(patsubst -lgcov,,$(LDFLAGS)) +spawn_multithreaded_LDFLAGS = $(patsubst -lgcov,,$(LDFLAGS)) + # ----------------------------------------------------------------------------- dist_test_data = \