~ubuntu-branches/ubuntu/utopic/gdk-pixbuf/utopic

« back to all changes in this revision

Viewing changes to tests/Makefile.am

  • Committer: Package Import Robot
  • Author(s): Robert Ancell
  • Date: 2014-01-15 10:41:02 UTC
  • mfrom: (1.5.8)
  • Revision ID: package-import@ubuntu.com-20140115104102-fzml65xmzuyjr2dj
Tags: 2.30.3-0ubuntu1
* New upstream release:
  - Expand the test suite
  - Enable coverage testing with --enable-coverage
  - Unify sniff buffer sizes across loaders: 4k everywhere
  - Port to GTask
  - xpm: Fix scaling
  - xpm: Update colors from pango
  - qtif: fix fread() error check
* debian/control:
  - Bump build-depends on libglib2.0-dev
  - Add build-depends on gawk
* debian/patches/fix-xpm-scaling.patch:
  - Applied upstream
* debian/patches/0001-Fix-test-failure-if-PNG_iTXt_SUPPORTED-not-defined.patch:
  - Fix test failing due to how our libpng is compiled

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
include $(top_srcdir)/glib.mk
 
1
include $(top_srcdir)/glib-tap.mk
2
2
 
3
 
INCLUDES =                              \
 
3
AM_CPPFLAGS =                           \
4
4
        -I$(top_srcdir)                 \
5
5
        -I$(top_srcdir)/gdk-pixbuf      \
6
6
        $(GDK_PIXBUF_DEBUG_FLAGS)       \
16
16
        $(GLIB_LIBS) \
17
17
        $(NULL)
18
18
 
19
 
noinst_PROGRAMS =                       \
20
 
        animation                       \
 
19
noinst_PROGRAMS +=                      \
21
20
        pixbuf-read                     \
22
21
        pixbuf-lowmem                   \
23
 
        pixbuf-randomly-modified        \
24
22
        pixbuf-random                   \
25
 
        pixbuf-threads                  \
26
 
        pixbuf-icon-serialize           \
27
23
        $(NULL)
28
24
 
29
25
test_programs =                         \
32
28
        pixbuf-randomly-modified        \
33
29
        pixbuf-threads                  \
34
30
        pixbuf-icc                      \
 
31
        pixbuf-stream                   \
 
32
        pixbuf-resource                 \
 
33
        pixbuf-scale                    \
 
34
        pixbuf-save                     \
35
35
        $(NULL)
36
36
 
37
 
dist_test_data =                        \
 
37
dist_installed_test_data =              \
38
38
        test-image.png                  \
39
39
        test-animation.gif              \
40
40
        test-animation.ani              \
42
42
        icc-profile.png                 \
43
43
        $(wildcard $(srcdir)/test-images/*)
44
44
 
 
45
pixbuf_resource_SOURCES =               \
 
46
        pixbuf-resource.c               \
 
47
        resources.h                     \
 
48
        resources.c
 
49
 
 
50
BUILT_SOURCES += resources.h resources.c
 
51
DISTCLEANFILES +=                       \
 
52
        resources.h resources.c         \
 
53
        pixbuf-save-options             \
 
54
        pixbuf-randomly-modified-image  \
 
55
        pixbuf-save-roundtrip
 
56
        
 
57
EXTRA_DIST += resources.gresource.xml
 
58
TESTS_ENVIRONMENT += GDK_PIXBUF_MODULE_FILE=$(top_builddir)/gdk-pixbuf/loaders.cache
 
59
 
 
60
resources.h: resources.gresource.xml
 
61
        $(AM_V_GEN) GDK_PIXBUF_MODULE_FILE=$(top_builddir)/gdk-pixbuf/loaders.cache GDK_PIXBUF_PIXDATA=$(top_builddir)/gdk-pixbuf/gdk-pixbuf-pixdata $(GLIB_COMPILE_RESOURCES) $(srcdir)/resources.gresource.xml --target=$@ --sourcedir=$(srcdir) --generate-header
 
62
 
 
63
resources.c: resources.gresource.xml
 
64
        $(AM_V_GEN) GDK_PIXBUF_MODULE_FILE=$(top_builddir)/gdk-pixbuf/loaders.cache GDK_PIXBUF_PIXDATA=$(top_builddir)/gdk-pixbuf/gdk-pixbuf-pixdata $(GLIB_COMPILE_RESOURCES) $(srcdir)/resources.gresource.xml --target=$@ --sourcedir=$(srcdir) --generate-source
 
65
 
45
66
GTESTER = \
46
67
        export GDK_PIXBUF_MODULE_FILE=$(top_srcdir)/gdk-pixbuf/loaders.cache; gtester
47
68