diff options
author | Matúš Kukan <matus.kukan@collabora.com> | 2014-10-29 11:51:49 +0100 |
---|---|---|
committer | Matúš Kukan <matus.kukan@collabora.com> | 2014-10-29 17:41:54 +0100 |
commit | e4e7f9d88e05fa610a72245c40f4e47f85db61ff (patch) | |
tree | d28891fdc5bb13c94b51e315e15db319a44b0a8a /solenv/gbuild/extensions | |
parent | need to initialize mnRefCnt (diff) | |
download | core-e4e7f9d88e05fa610a72245c40f4e47f85db61ff.tar.gz core-e4e7f9d88e05fa610a72245c40f4e47f85db61ff.zip |
Improve framework for callgrind performance unit tests
Do not abort in tests which take longer then before.
Since 4f5f6d2444a24138c3d3d378771f87cb06427195 we have nice tool to
collect callgrind results, store them..
Also, make it not necessary to duplicate anything. Any test can be turned
into a performance test by using callgrindStart/callgrindDump. You only
need to duplicate the makefile name in gb_Module_add_perfcheck_targets.
So, if the test is run as part of 'perfcheck', it runs under callgrind,
otherwise it behaves like a regular unit test.
Change-Id: I7acbb855b1823c9a32ba126abb57dccc767ca239
Diffstat (limited to 'solenv/gbuild/extensions')
-rw-r--r-- | solenv/gbuild/extensions/post_SpeedUpTargets.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/solenv/gbuild/extensions/post_SpeedUpTargets.mk b/solenv/gbuild/extensions/post_SpeedUpTargets.mk index 8f3280f3c5aa..a13392a29cf7 100644 --- a/solenv/gbuild/extensions/post_SpeedUpTargets.mk +++ b/solenv/gbuild/extensions/post_SpeedUpTargets.mk @@ -22,6 +22,8 @@ endif ifeq (,$(filter perfcheck,$(MAKECMDGOALS))) gb_Module_SKIPTARGETS += perfcheck +else +gb_Module_SKIPTARGETS += check slowcheck subsequentcheck endif ifneq ($(strip $(MAKECMDGOALS)),) |