~ubuntu-branches/ubuntu/precise/libpeas/precise

« back to all changes in this revision

Viewing changes to tests/Makefile.tests

  • Committer: Bazaar Package Importer
  • Author(s): Robert Ancell
  • Date: 2011-02-23 10:22:01 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20110223102201-qh09oft2ngs48kpd
Tags: 0.7.2-0ubuntu1
* New upstream release
* debian/control:
  - Use new GTK3 package naming
  - Bump build-depends on gobject-introspection
  - Add Vcs-Bzr link

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 
5
5
test: $(TEST_PROGS)
6
6
        @test -z "$(TEST_PROGS)" || \
7
 
         $(GTESTER) --verbose $(TEST_PROGS)
 
7
         G_SLICE=debug-blocks $(GTESTER) --verbose $(TEST_PROGS)
8
8
 
9
9
test-gdb: $(TEST_PROGS)
10
10
        @test -z "$(TEST_PROGS)" || \
11
11
         for test_prog in $(TEST_PROGS) ; do \
12
 
           $(GTESTER) --verbose $$test_prog || { \
13
 
             libtool --mode=execute gdb --ex "run --verbose" $$test_prog ; \
 
12
           G_SLICE=debug-blocks $(GTESTER) --verbose $$test_prog || { \
 
13
             G_SLICE=debug-blocks \
 
14
               libtool --mode=execute gdb --ex "run --verbose" $$test_prog ; \
14
15
             exit 1 ; \
15
16
           } \
16
17
         done
27
28
             --log-file=vgdump-$$test_prog $$test_prog ; \
28
29
         done
29
30
 
 
31
test-callgrind: $(TEST_PROGS)
 
32
        @test -z "$(TEST_PROGS)" || \
 
33
         for test_prog in $(TEST_PROGS) ; do \
 
34
           if test -e cgdump-$$test_prog; then \
 
35
             unlink cgdump-$$test_prog; \
 
36
           fi ; \
 
37
           libtool --mode=execute valgrind --tool=callgrind \
 
38
             --callgrind-out-file=cgdump-$$test_prog \
 
39
             --log-file=/dev/null $$test_prog ; \
 
40
         done
 
41
 
30
42
generate-report: $(TEST_PROGS)
31
43
        @test -z "$(TEST_PROGS)" || \
32
 
         $(GTESTER) $(GTESTER_ARGS) $(TEST_PROGS)
 
44
         G_SLICE=debug-blocks $(GTESTER) $(GTESTER_ARGS) $(TEST_PROGS)
33
45
 
34
46
CLEANFILES = vgdump-*