[glib] Skip spawn tests when collecting coverage
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Skip spawn tests when collecting coverage
- Date: Sun, 2 Jun 2013 05:47:49 +0000 (UTC)
commit 7977bb15de1f19e4f11484779c581a6c08ebdd03
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Jun 1 18:54:57 2013 -0400
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 files changed, 5 insertions(+), 0 deletions(-)
---
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 = \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]