mirror of
https://github.com/brl/mutter.git
synced 2024-11-27 02:20:43 -05:00
aa05b66a01
This adds a performance tracking framework that can run a set of tests over specified git revisions. The ruby script for generating the reports comes from similar performance tracking in GEGL. The framework permits evaluating new tests against older version of clutter. The tests themselves go through a few hoops for disabling framerate limiting in both mesa and clutter. When running make check the tests will be run and lines of the form: @ test-state: 40.51 fps will be left in the output, a script can scrape these lines out of a build log on a buildbot to in other ways track performance.
39 lines
956 B
Makefile
39 lines
956 B
Makefile
include $(top_srcdir)/build/autotools/Makefile.am.silent
|
|
|
|
NULL =
|
|
|
|
SUBDIRS = build clutter tests doc po
|
|
|
|
# XXX - this is a massive hack to make autoreconf honour the ACLOCAL_FLAGS
|
|
# that jhbuild sets while still retaining build/autotools as the authoritative
|
|
# source for m4 macros
|
|
ACLOCAL_AMFLAGS = -I build/autotools ${ACLOCAL_FLAGS}
|
|
|
|
EXTRA_DIST = \
|
|
ChangeLog.pre-git-import \
|
|
README.in \
|
|
$(NULL)
|
|
|
|
CLEANFILES = $(pcfiles)
|
|
|
|
DISTCLEANFILES =
|
|
|
|
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-maintainer-flags --enable-docs
|
|
|
|
# .release requires .changelog rules
|
|
include $(top_srcdir)/build/autotools/Makefile.am.changelog
|
|
include $(top_srcdir)/build/autotools/Makefile.am.release
|
|
|
|
# proxy rule for gcov
|
|
gcov:
|
|
@( cd clutter && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $$?
|
|
|
|
# proxy rules for tests
|
|
test-report full-report:
|
|
$(MAKE) -C tests/conform $(@)
|
|
|
|
perf-report:
|
|
$(MAKE) -C tests/performance $(@)
|
|
|
|
.PHONY: gcov test-report full-report perf-report
|