~ubuntu-branches/ubuntu/saucy/gnash/saucy-proposed

« back to all changes in this revision

Viewing changes to testsuite/misc-swfmill.all/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Sack
  • Date: 2008-10-13 14:29:49 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20081013142949-f6qdvnu4mn05ltdc
Tags: 0.8.4~~bzr9980-0ubuntu1
* new upstream release 0.8.4 (LP: #240325)
* ship new lib usr/lib/gnash/libmozsdk.so.* in mozilla-plugin-gnash
  - update debian/mozilla-plugin-gnash.install
* ship new lib usr/lib/gnash/libgnashnet.so.* in gnash-common
  - update debian/gnash-common.install
* add basic debian/build_head script to build latest CVS head packages.
  - add debian/build_head
* new sound architecture requires build depend on libsdl1.2-dev
  - update debian/control
* head build script now has been completely migrated to bzr (upstream +
  ubuntu)
  - update debian/build_head
* disable kde gui until klash/qt4 has been fixed; keep kde packages as empty
  packages for now.
  - update debian/rules
  - debian/klash.install
  - debian/klash.links
  - debian/klash.manpages
  - debian/konqueror-plugin-gnash.install
* drop libkonq5-dev build dependency accordingly
  - update debian/control
* don't install headers manually anymore. gnash doesnt provide a -dev
  package after all
  - update debian/rules
* update libs installed in gnash-common; libgnashserver-*.so is not available
  anymore (removed); in turn we add the new libgnashcore-*.so
  - update debian/gnash-common.install
* use -Os for optimization and properly pass CXXFLAGS=$(CFLAGS) to configure
  - update debian/rules
* touch firefox .autoreg in postinst of mozilla plugin
  - update debian/mozilla-plugin-gnash.postinst
* link gnash in ubufox plugins directory for the plugin alternative switcher
  - add debian/mozilla-plugin-gnash.links
* suggest ubufox accordingly
  - update debian/control
* add new required build-depends on libgif-dev
  - update debian/control
* add Xb-Npp-Description and Xb-Npp-File as new plugin database meta data
  - update debian/control

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
AUTOMAKE_OPTIONS = dejagnu -Wno-portability
20
20
 
21
21
abs_topbuilddir=$(shell cd $(top_builddir); pwd)
 
22
abs_builddir=$(shell cd $(top_builddir)/testsuite/misc-swfmill.all; pwd)
22
23
 
23
24
## Self-contained XML tests
24
25
SC_XMLTESTS =                   \
25
26
        hello.xml               \
26
27
        jump_after_end.xml      \
 
28
        jump_to_prev_block.xml  \
27
29
        dict_override.xml       \
28
30
        initaction_in_definesprite.xml \
29
 
        $(NULL)
30
 
 
31
 
EXTRA_DIST = $(SC_XMLTESTS)
32
 
 
33
 
if ENABLE_SWFMILL
 
31
        zeroframe_definesprite.xml \
 
32
        background.xml \
 
33
        registers.xml \
 
34
        Try-without-jump.xml \
 
35
        $(NULL)
 
36
 
 
37
EXTRA_DIST = $(SC_XMLTESTS) 
 
38
 
 
39
AM_CPPFLAGS = \
 
40
        -I$(top_srcdir)/libbase \
 
41
        -I$(top_srcdir)/libmedia \
 
42
        -I$(top_srcdir)/backend \
 
43
        -I$(top_srcdir)/libcore  \
 
44
        -I$(top_srcdir)/libcore/parser  \
 
45
        -I$(top_srcdir)/libcore/vm \
 
46
        -I$(top_srcdir)/libcore/asobj \
 
47
        -I$(top_srcdir)/testsuite \
 
48
        $(NULL)
34
49
 
35
50
SC_XMLTESTS_OUT = $(SC_XMLTESTS:.xml=.swf)
36
51
 
39
54
 
40
55
check_SCRIPTS = \
41
56
        jump_after_end-runner   \
 
57
        jump_to_prev_block-runner       \
42
58
        dict_override-runner    \
43
59
        initaction_in_definesprite-runner       \
 
60
        zeroframe_definesprite-runner   \
 
61
        registers-runner \
 
62
        Try-without-jump-runner \
44
63
        $(NULL)
45
64
 
 
65
check_PROGRAMS = \
 
66
        backgroundTestRunner
 
67
 
46
68
jump_after_end-runner: $(srcdir)/../generic-testrunner.sh jump_after_end.swf Makefile
47
69
        sh $< -r 50 -c "END OF TEST" $(top_builddir) jump_after_end.swf > $@
48
70
        chmod 755 $@
49
71
 
 
72
jump_to_prev_block-runner: $(srcdir)/../generic-testrunner.sh jump_to_prev_block.swf Makefile
 
73
        sh $< -r 50 -C "ABA" $(top_builddir) jump_to_prev_block.swf > $@
 
74
        chmod 755 $@
 
75
 
50
76
dict_override-runner: $(srcdir)/../generic-testrunner.sh dict_override.swf Makefile
51
77
        sh $< -r 50 -c "END OF TEST" $(top_builddir) dict_override.swf > $@
52
78
        chmod 755 $@
55
81
        sh $< -r 50 -c "END OF TEST" $(top_builddir) initaction_in_definesprite.swf > $@
56
82
        chmod 755 $@
57
83
 
 
84
zeroframe_definesprite-runner: $(srcdir)/../generic-testrunner.sh zeroframe_definesprite.swf Makefile
 
85
        sh $< -r 50 -c "END OF TEST" $(top_builddir) zeroframe_definesprite.swf > $@
 
86
        chmod 755 $@
 
87
 
 
88
registers-runner: $(srcdir)/../generic-testrunner.sh registers.swf Makefile
 
89
        sh $< -r 50 -c "END OF TEST" $(top_builddir) registers.swf > $@
 
90
        chmod 755 $@
 
91
 
 
92
Try-without-jump-runner: $(srcdir)/../generic-testrunner.sh Try-without-jump.swf Makefile
 
93
        sh $< -r 50 -c "END OF TEST" $(top_builddir) Try-without-jump.swf > $@
 
94
        chmod 755 $@
 
95
 
 
96
 
 
97
backgroundTestRunner_SOURCES = \
 
98
        backgroundTestRunner.cpp \
 
99
        $(NULL)
 
100
backgroundTestRunner_CXXFLAGS = \
 
101
        -DSRCDIR='"$(srcdir)"' \
 
102
        -DTGTDIR='"$(abs_builddir)"' \
 
103
        $(NULL)
 
104
backgroundTestRunner_LDADD = \
 
105
        $(top_builddir)/testsuite/libtestsuite.la \
 
106
        $(NULL)
 
107
backgroundTestRunner_DEPENDENCIES = \
 
108
        $(top_builddir)/testsuite/libtestsuite.la \
 
109
        background.swf      \
 
110
        $(NULL)
 
111
 
58
112
.xml.swf: 
59
113
        $(SWFMILL) -v simple $(@:%.swf=$(srcdir)/%.xml) $@
60
114
 
66
120
 
67
121
 
68
122
TEST_DRIVERS = ../simple.exp
69
 
TEST_CASES = ${check_SCRIPTS}
 
123
TEST_CASES = ${check_SCRIPTS} ${check_PROGRAMS}
70
124
 
71
125
check-DEJAGNU: site-update $(check_PROGRAMS)
72
126
        @runtest=$(RUNTEST); \
73
127
        if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
74
 
            $$runtest $(RUNTESTFLAGS) $(TEST_DRIVERS); true; \
 
128
            GNASH_GC_TRIGGER_THRESHOLD=0 GNASHRC=../gnashrc $$runtest $(RUNTESTFLAGS) $(TEST_DRIVERS); true; \
75
129
        else \
76
130
          echo "WARNING: could not find \`runtest'" 1>&2; \
77
131
          for i in "$(TEST_CASES)"; do \
78
 
            $(SHELL) $$i; \
 
132
            GNASH_GC_TRIGGER_THRESHOLD=0 GNASHRC=../gnashrc $(SHELL) $$i; \
79
133
          done; \
80
134
        fi
81
135
 
86
140
        @echo "# This is a list of the pre-compiled testcases" >> site.exp
87
141
        @echo "set testcases \"$(TEST_CASES)\"" >> site.exp
88
142
 
89
 
endif