diff options
author | Matthias Clasen <mclasen@redhat.com> | 2013-12-20 22:15:00 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2013-12-20 22:15:00 -0500 |
commit | 74ecac063ebc074af8af6f4c58c2885852abbab5 (patch) | |
tree | ce0b62ded31dfec5a600d7515ae5d03d036a0aeb | |
parent | 8d2aade60c486d7ac0e7ac9988448409d77eb75b (diff) | |
download | gdk-pixbuf-74ecac063ebc074af8af6f4c58c2885852abbab5.tar.gz |
Remove Makefile.decl
We are now using glib-tap.mk for the tests, and all we gain
from Makefile.decl is a predefined EXTRA_DIST, which doesn't
seem worth it.
-rw-r--r-- | Makefile.am | 4 | ||||
-rw-r--r-- | Makefile.decl | 82 | ||||
-rw-r--r-- | contrib/Makefile.am | 2 | ||||
-rw-r--r-- | docs/Makefile.am | 2 | ||||
-rw-r--r-- | docs/reference/Makefile.am | 2 | ||||
-rw-r--r-- | docs/reference/gdk-pixbuf/Makefile.am | 3 | ||||
-rw-r--r-- | gdk-pixbuf/Makefile.am | 3 | ||||
-rw-r--r-- | gdk-pixbuf/pixops/Makefile.am | 4 |
8 files changed, 3 insertions, 99 deletions
diff --git a/Makefile.am b/Makefile.am index a726da58b..ed4a5c270 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,8 +1,6 @@ -include $(top_srcdir)/Makefile.decl - SUBDIRS = gdk-pixbuf po docs tests contrib build -EXTRA_DIST += \ +EXTRA_DIST = \ config.h.win32 \ glib-tap.mk \ tap-driver.sh \ diff --git a/Makefile.decl b/Makefile.decl deleted file mode 100644 index cca7eb60a..000000000 --- a/Makefile.decl +++ /dev/null @@ -1,82 +0,0 @@ -# GTK+ - The GIMP Toolkit - -GTESTER = gtester # in $PATH for non-GLIB packages -GTESTER_REPORT = gtester-report # in $PATH for non-GLIB packages - -# initialize variables for unconditional += appending -EXTRA_DIST = -TEST_PROGS = - -### testing rules - -# Xvfb based test rules -XVFB = Xvfb -ac -noreset -screen 0 800x600x16 -XIDS = 101 102 103 104 105 106 107 197 199 211 223 227 293 307 308 309 310 311 \ - 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 \ - 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 \ - 1008 1009 4703 4721 4723 4729 4733 4751 9973 9974 9975 9976 9977 9978 9979 \ - 9980 9981 9982 9983 9984 9985 9986 9987 9988 9989 9990 9991 9992 9993 9994 \ - 9995 9996 9997 9998 9999 -SKIP_GDKTARGET = \ - test "$(gdktarget)" != "x11" \ - && echo "Gtk+Tests:INFO: Skipping GUI tests for non-X11 target." -XVFB_START = \ - ${XVFB} -help 2>/dev/null 1>&2 \ - && XID=`for id in $(XIDS) ; do test -e /tmp/.X$$id-lock || { echo $$id; exit 0; }; done; exit 1` \ - && { ${XVFB} :$$XID -screen 0 800x600x16 -nolisten tcp -auth /dev/null >/dev/null 2>&1 & \ - trap "kill -15 $$! " 0 HUP INT QUIT TRAP USR1 PIPE TERM ; } \ - || { echo "Gtk+Tests:ERROR: Failed to start Xvfb environment for X11 target tests."; exit 1; } \ - && DISPLAY=:$$XID && export DISPLAY -# call as: $(XVFB_START) && someprogram - -# test: run all tests in cwd and subdirs -test: ${TEST_PROGS} - @$(SKIP_GDKTARGET) || test -z "${TEST_PROGS}" || { \ - $(XVFB_START) && { set -e; ${GTESTER} --verbose ${TEST_PROGS}; }; \ - } - @ for subdir in $(SUBDIRS) ; do \ - test "$$subdir" = "." -o "$$subdir" = "po" -o "$$subdir" = "po-properties" || \ - ( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $? ; \ - done -# test-report: run tests in subdirs and generate report -# perf-report: run tests in subdirs with -m perf and generate report -# full-report: like test-report: with -m perf and -m slow -test-report perf-report full-report: ${TEST_PROGS} - @ ignore_logdir=true ; \ - if test -z "$$GTESTER_LOGDIR" ; then \ - GTESTER_LOGDIR=`mktemp -d "\`pwd\`/.testlogs-XXXXXX"`; export GTESTER_LOGDIR ; \ - ignore_logdir=false ; \ - fi ; \ - for subdir in $(SUBDIRS) ; do \ - test "$$subdir" = "." -o "$$subdir" = "po" -o "$$subdir" = "po-properties" || \ - ( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $? ; \ - done ; \ - $(SKIP_GDKTARGET) || test -z "${TEST_PROGS}" || { \ - case $@ in \ - test-report) test_options="-k";; \ - perf-report) test_options="-k -m=perf";; \ - full-report) test_options="-k -m=perf -m=slow";; \ - esac ; \ - $(XVFB_START) && { \ - set -e; \ - if test -z "$$GTESTER_LOGDIR" ; then \ - ${GTESTER} --verbose $$test_options -o test-report.xml ${TEST_PROGS} ; \ - elif test -n "${TEST_PROGS}" ; then \ - ${GTESTER} --verbose $$test_options -o `mktemp "$$GTESTER_LOGDIR/log-XXXXXX"` ${TEST_PROGS} ; \ - fi ; \ - }; \ - }; \ - $$ignore_logdir || { \ - echo '<?xml version="1.0"?>' > $@.xml ; \ - echo '<report-collection>' >> $@.xml ; \ - for lf in `ls -L "$$GTESTER_LOGDIR"/.` ; do \ - sed '1,1s/^<?xml\b[^>?]*?>//' <"$$GTESTER_LOGDIR"/"$$lf" >> $@.xml ; \ - done ; \ - echo >> $@.xml ; \ - echo '</report-collection>' >> $@.xml ; \ - rm -rf "$$GTESTER_LOGDIR"/ ; \ - ${GTESTER_REPORT} --version 2>/dev/null 1>&2 ; test "$$?" != 0 || ${GTESTER_REPORT} $@.xml >$@.html ; \ - } -.PHONY: test test-report perf-report full-report -# run make test as part of make check -check-local: test diff --git a/contrib/Makefile.am b/contrib/Makefile.am index feb4bdbf8..adff28464 100644 --- a/contrib/Makefile.am +++ b/contrib/Makefile.am @@ -1,5 +1,3 @@ -include $(top_srcdir)/Makefile.decl - SUBDIRS = if USE_X11 SUBDIRS += gdk-pixbuf-xlib diff --git a/docs/Makefile.am b/docs/Makefile.am index 470cddf03..034926c59 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -1,5 +1,3 @@ -include $(top_srcdir)/Makefile.decl - SUBDIRS = reference -include $(top_srcdir)/git.mk diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am index bc0b95435..3248edfb3 100644 --- a/docs/reference/Makefile.am +++ b/docs/reference/Makefile.am @@ -1,5 +1,3 @@ -include $(top_srcdir)/Makefile.decl - SUBDIRS = gdk-pixbuf GITIGNOREFILES = */*.1 diff --git a/docs/reference/gdk-pixbuf/Makefile.am b/docs/reference/gdk-pixbuf/Makefile.am index 1583a6f76..61cfe49f4 100644 --- a/docs/reference/gdk-pixbuf/Makefile.am +++ b/docs/reference/gdk-pixbuf/Makefile.am @@ -1,6 +1,3 @@ -## Process this file with automake to produce Makefile.in -include $(top_srcdir)/Makefile.decl - AUTOMAKE_OPTIONS = 1.6 # The name of the module. diff --git a/gdk-pixbuf/Makefile.am b/gdk-pixbuf/Makefile.am index b2bc1ff2f..4ea900a14 100644 --- a/gdk-pixbuf/Makefile.am +++ b/gdk-pixbuf/Makefile.am @@ -1,4 +1,3 @@ -include $(top_srcdir)/Makefile.decl -include $(INTROSPECTION_MAKEFILE) INTROSPECTION_GIRS = @@ -672,7 +671,7 @@ distclean-local: rm -f $(MAINTAINERCLEANFILES); \ fi -EXTRA_DIST += \ +EXTRA_DIST = \ gdk-pixbuf-csource.1 \ makefile.msc \ gdk-pixbuf.symbols \ diff --git a/gdk-pixbuf/pixops/Makefile.am b/gdk-pixbuf/pixops/Makefile.am index 809bfa8a0..eb1fef473 100644 --- a/gdk-pixbuf/pixops/Makefile.am +++ b/gdk-pixbuf/pixops/Makefile.am @@ -1,5 +1,3 @@ -include $(top_srcdir)/Makefile.decl - noinst_LTLIBRARIES = libpixops.la AM_CPPFLAGS = \ @@ -26,7 +24,7 @@ libpixops_la_SOURCES = \ pixops-internal.h \ $(mmx_sources) -EXTRA_DIST += \ +EXTRA_DIST = \ DETAILS \ pixbuf-transform-math.ltx \ makefile.msc |