From: Matthias Clasen Date: Sat, 1 Jun 2013 22:54:57 +0000 (-0400) Subject: Skip spawn tests when collecting coverage X-Git-Tag: 2.37.2~57 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7977bb15de1f19e4f11484779c581a6c08ebdd03;p=platform%2Fupstream%2Fglib.git Skip spawn tests when collecting coverage These tests break gcov's data collection, so don't link them against -lgov. See bug 682133. --- diff --git a/glib/tests/Makefile.am b/glib/tests/Makefile.am index 5753d53..8dc57f8 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 = \