mirror of
https://github.com/brl/mutter.git
synced 2024-12-26 04:42:14 +00: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.
29 lines
564 B
Makefile
29 lines
564 B
Makefile
SUBDIRS = accessibility data interactive micro-bench performance
|
|
|
|
if BUILD_TESTS
|
|
SUBDIRS += conform
|
|
endif
|
|
|
|
DIST_SUBDIRS = accessibility data conform interactive micro-bench performance
|
|
|
|
EXTRA_DIST = README
|
|
|
|
if BUILD_TESTS
|
|
test conform:
|
|
( cd ./conform && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $$?
|
|
|
|
test-report full-report:
|
|
( cd ./conform && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $$?
|
|
else
|
|
test conform:
|
|
@true
|
|
|
|
test-report full-report:
|
|
@true
|
|
endif # BUILD_TESTS
|
|
|
|
.PHONY: test conform test-report full-report
|
|
|
|
# run make test as part of make check
|
|
check-local: test
|