diff options
Diffstat (limited to 'dev-python/pygobject/files/pygobject-2.26.0-make_check.patch')
-rw-r--r-- | dev-python/pygobject/files/pygobject-2.26.0-make_check.patch | 71 |
1 files changed, 0 insertions, 71 deletions
diff --git a/dev-python/pygobject/files/pygobject-2.26.0-make_check.patch b/dev-python/pygobject/files/pygobject-2.26.0-make_check.patch deleted file mode 100644 index 37eba722fd79..000000000000 --- a/dev-python/pygobject/files/pygobject-2.26.0-make_check.patch +++ /dev/null @@ -1,71 +0,0 @@ -From 21893ae2b466fcf64645e73173a27200e99c0701 Mon Sep 17 00:00:00 2001 -From: Gilles Dartiguelongue <eva@gentoo.org> -Date: Fri, 5 Nov 2010 23:39:08 +0100 -Subject: [PATCH] Do not build tests unless needed - ---- - tests/Makefile.am | 12 +++++------- - tests/runtests.py | 2 ++ - 2 files changed, 7 insertions(+), 7 deletions(-) - -diff --git a/tests/Makefile.am b/tests/Makefile.am -index 77bc020..49416b0 100644 ---- a/tests/Makefile.am -+++ b/tests/Makefile.am -@@ -1,7 +1,7 @@ - CLEANFILES = --noinst_LTLIBRARIES = -+check_LTLIBRARIES = - if ENABLE_INTROSPECTION --noinst_LTLIBRARIES += libregress.la libgimarshallingtests.la -+check_LTLIBRARIES += libregress.la libgimarshallingtests.la - - nodist_libregress_la_SOURCES = $(GI_DATADIR)/tests/regress.c $(GI_DATADIR)/tests/regress.h - libregress_la_CFLAGS = $(GIO_CFLAGS) $(PYCAIRO_CFLAGS) -@@ -43,7 +43,7 @@ GIMarshallingTests-1.0.typelib: GIMarshallingTests-1.0.gir Makefile - CLEANFILES += Regress-1.0.gir Regress-1.0.typelib GIMarshallingTests-1.0.gir GIMarshallingTests-1.0.typelib - endif - --noinst_LTLIBRARIES += testhelper.la -+check_LTLIBRARIES += testhelper.la - - testhelper_la_CFLAGS = -I$(top_srcdir)/gobject -I$(top_srcdir)/glib $(PYTHON_INCLUDES) $(GLIB_CFLAGS) - testhelper_la_LDFLAGS = -module -avoid-version -@@ -63,8 +63,6 @@ testhelper.la: $(testhelper_la_OBJECTS) $(testhelper_la_DEPENDENCIES) - test -L $@ || $(LN_S) .libs/$@ $@ - - --all: $(LTLIBRARIES:.la=.so) -- - TEST_FILES = \ - test_gobject.py \ - test_interface.py \ -@@ -104,10 +102,10 @@ EXTRA_DIST = \ - EXTRA_DIST += $(TEST_FILES) - - clean-local: -- rm -f $(LTLIBRARIES:.la=.so) file.txt~ -+ rm -f $(check_LTLIBRARIES:.la=.so) file.txt~ - - --check-local: $(LTLIBRARIES:.la=.so) Regress-1.0.typelib GIMarshallingTests-1.0.typelib -+check-local: $(check_LTLIBRARIES:.la=.so) Regress-1.0.typelib GIMarshallingTests-1.0.typelib - TEST_FILES="$(TEST_FILES)" PYTHONPATH=$(top_builddir):$(top_builddir)/tests:$${PYTHONPATH:+:$$PYTHONPATH} LD_LIBRARY_PATH=$(builddir)/.libs:$$LD_LIBRARY_PATH GI_TYPELIB_PATH=$(builddir) $(EXEC_NAME) $(PYTHON) $(srcdir)/runtests.py - - check.gdb: -diff --git a/tests/runtests.py b/tests/runtests.py -index d99f0cc..89e2084 100644 ---- a/tests/runtests.py -+++ b/tests/runtests.py -@@ -5,6 +5,8 @@ import glob - - import unittest - -+# Some tests fail with translated messages. -+os.environ["LC_ALL"] = "C" - - # Load tests. - if 'TEST_NAMES' in os.environ: --- -1.7.3.1 - |