include the new .sh and .as files so make check works from the source dist tarball.
[gnash.git] / testsuite / misc-ming.all / Makefile.am
blob702caa9dcd248c98b3c28471f459dab50910fe9a
1 ## Process this file with automake to generate Makefile.in
2
3 # Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 3 of the License, or
8 # (at your option) any later version.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software
17 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19 AUTOMAKE_OPTIONS = dejagnu -Wno-portability
21 abs_top_builddir=$(shell cd $(top_builddir); pwd)
22 abs_builddir=$(shell cd $(top_builddir)/testsuite/misc-ming.all; pwd)
23 abs_mediadir = $(shell cd $(srcdir)/../media; pwd)
25 CLEANFILES =  \
26         gnash-dbg.log \
27         site.exp.bak \
28         testrun.sum \
29         testrun.log
31 SUBDIRS = loop loading displaylist_depths action_order
33 EXTRA_DIST = \
34         DragDropTest.as \
35         DrawingApiTest.as \
36         FlashVarsTest.as \
37         GradientFillTest.as \
38         LC-Receive.as \
39         LC-Send.as \
40         PrototypeEventListeners.as \
41         SharedObjectTest.as \
42         StageConfigTest.as \
43         VarAndCharClashTest.as \
44         XMLSocketTest.as \
45         attachExtImported.as \
46         attachImported.as \
47         case6.as \
48         case7.as \
49         easysound.as \
50         empty.as \
51         gotoFrame2Test.as \
52         intervalTest.as \
53         red5test.as \
54         remoting.as \
55         rtmpytest.as \
56         widgets.as \
57         remoting.php \
58         FlashVarsTest.html \
59         SharedObjectTestRunner.sh \
60         SharedObjectTest.sol/sol1.sol \
61         SharedObjectTest.sol/README \
62         XMLSocketTester.sh
64 AM_CPPFLAGS = \
65         -I$(top_srcdir)/libbase \
66         -I$(top_srcdir)/libmedia \
67         -I$(top_srcdir)/libsound \
68         -I$(top_srcdir)/librender \
69         -I$(top_srcdir)/libcore  \
70         -I$(top_srcdir)/libcore/swf  \
71         -I$(top_srcdir)/libcore/parser  \
72         -I$(top_srcdir)/libcore/vm \
73         -I$(top_srcdir)/libcore/asobj \
74         -I$(top_srcdir)/testsuite \
75         $(MING_CFLAGS) \
76         $(OPENGL_CFLAGS) \
77         $(BOOST_CFLAGS) \
78         -DMING_VERSION_CODE=$(MING_VERSION_CODE) \
79         $(NULL)
81 AM_LDFLAGS = \
82         $(MING_LIBS) \
83         $(OPENGL_LIBS) \
84         $(GIF_LIBS) \
85         $(top_builddir)/libbase/libgnashbase.la \
86         $(top_builddir)/librender/libgnashrender.la \
87         $(NULL)
89 if LIBLTDL2
90 AM_LDFLAGS  += $(top_builddir)/libltdl/libltdlc.la
91 endif
92 if LIBLTDL1
93 AM_LDFLAGS += $(top_builddir)/libbase/libltdlc.la
94 endif
96 check_PROGRAMS = \
97         ResolveEventsTest \
98         ResolveEventsTest-Runner \
99         SpriteButtonEventsTest \
100         SpriteButtonEventsTest-Runner \
101         DefineTextTest \
102         DefineTextTest-Runner \
103         TextSnapshotTest \
104         DeviceFontTest \
105         EmbeddedFontTest \
106         DefineEditTextTest \
107         DefineEditTextTest-Runner \
108         DefineEditTextVariableNameTest \
109         DefineEditTextVariableNameTest-Runner \
110         DefineEditTextVariableNameTest2 \
111         Dejagnu \
112         Dejagnu.swf \
113         RemoveObject2Test \
114         RollOverOutTest \
115         RollOverOutTest-Runner \
116         definebitsjpeg2 \
117         spritehier \
118         timeline_var_test \
119         root_stop_test \
120         root_stop_testrunner \
121         place_object_test \
122         place_object_test2 \
123         move_object_test \
124         place_and_remove_object_test \
125         place_and_remove_object_insane_test \
126         unload_movieclip_test1 \
127         DepthLimitsTest \
128         masks_test \
129         masks_test2 \
130         masks_test2runner \
131         attachMovieTest \
132         attachMovieTestRunner \
133         attachMovieLoopingTest \
134         attachMovieLoopingTestRunner \
135         registerClassTest \
136         registerClassTestRunner \
137         goto_frame_test \
138         consecutive_goto_frame_test \
139         matrix_test \
140         multi_doactions_and_goto_frame_test \
141         reverse_execute_PlaceObject2_test1 \
142         reverse_execute_PlaceObject2_test2 \
143         DrawingApiTestRunner \
144         frame_label_test \
145         path_format_test \
146         callFunction_test \
147         duplicate_movie_clip_test \
148         duplicate_movie_clip_test2 \
149         event_handler_scope_test \
150         masks_testrunner \
151         key_event_test \
152         key_event_testrunner \
153         static_vs_dynamic1 \
154         static_vs_dynamic2 \
155         getTimer_test \
156         Video-EmbedSquareTest \
157         Video-EmbedSquareTestRunner \
158         NetStream-SquareTest \
159         NetStream-SquareTestRunner \
160         shape_test \
161         morph_test1 \
162         morph_test1runner \
163         runtime_vm_stack_test \
164         new_child_in_unload_test \
165         instanceNameTest \
166         BeginBitmapFill \
167         BeginBitmapFillRunner \
168         BitmapDataTest \
169         BitmapDataTestRunner \
170         BitmapDataDraw \
171         $(NULL)
173 if MING_VERSION_0_4_3
174 check_PROGRAMS += \
175         EmbeddedSoundTest \
176         EmbeddedSoundTest-Runner \
177         eventSoundTest1 \
178         eventSoundTest1-Runner \
179         BitmapSmoothingTest \
180         $(NULL)
181 endif
183 if MING_VERSION_0_4
184 check_PROGRAMS += \
185         opcode_guard_test \
186         get_frame_number_test
187 endif
189 if MAKESWF_SUPPORTS_PREBUILT_CLIPS
190 check_PROGRAMS += \
191         intervalTestRunner \
192         DragDropTestRunner   \
193         PrototypeEventListenersTestRunner \
194         $(NULL)
195 endif
197 if MING_SUPPORTS_INIT_ACTIONS
198 check_PROGRAMS += \
199         init_action_test \
200         InitActionTest2 \
201         RegisterClassTest4 \
202         RegisterClassTest3 \
203         registerClassTest2 \
204         $(NULL)
205 endif
207 if MING_SUPPORTS_REPLACE_TAG
208 check_PROGRAMS += \
209         replace_shapes1test \
210         replace_sprites1test \
211         replace_buttons1test \
212         $(NULL)
213 endif
215 if MING_SUPPORTS_STREAMING_SOUND
216 check_PROGRAMS += \
217         streamingSoundTest1 \
218         streamingSoundTest1-Runner 
219 endif
221 if MING_SUPPORTS_SWFBUTTON_SET_DEPTH
222 check_PROGRAMS += \
223         KeyEventOrder \
224         KeyEventOrderRunner \
225         ButtonPropertiesTest \
226         ButtonEventsTest \
227         ButtonPropertiesTestRunner \
228         ButtonEventsTest-Runner \
229         $(NULL)
230 endif
232 check_SCRIPTS = \
233         GradientFillTestRunner \
234         BitmapDataDrawRunner \
235         DeviceFontTestRunner \
236         EmbeddedFontTestRunner \
237         TextSnapshotTest-Runner \
238         XMLSocketTester \
239         LCTestRunner \
240         timeline_var_test-Runner \
241         place_object_testrunner \
242         place_object_test2runner \
243         move_object_testrunner \
244         place_and_remove_object_testrunner \
245         place_and_remove_object_insane_testrunner \
246         unload_movieclip_test1runner \
247         goto_frame_testrunner \
248         consecutive_goto_frame_testrunner \
249         multi_doactions_and_goto_frame_testrunner \
250         gotoFrame2Test-Runner \
251         reverse_execute_PlaceObject2_test1runner \
252         reverse_execute_PlaceObject2_test2runner \
253         frame_label_testrunner \
254         path_format_testrunner \
255         callFunction_testrunner \
256         duplicate_movie_clip_testrunner \
257         duplicate_movie_clip_test2runner \
258         event_handler_scope_testrunner \
259         matrix_testrunner \
260         static_vs_dynamic1_testrunner \
261         static_vs_dynamic2_testrunner \
262         getTimer_testrunner \
263         DepthLimitsTestrunner \
264         shape_testrunner \
265         DefineEditTextVariableNameTest-Runner \
266         DefineEditTextVariableNameTest2-Runner \
267         runtime_vm_stack_testrunner \
268         new_child_in_unload_testrunner \
269         instanceNameTestRunner \
270         init_action_testrunner \
271         InitActionTest2Runner \
272         $(NULL)
274 if MAKESWF_SUPPORTS_PREBUILT_CLIPS
275 check_SCRIPTS += VarAndCharClashTest-Runner \
276         gotoFrame2Test-Runner \
277         FlashVarsTest-Runner \
278         attachImported-Runner \
279         attachExtImported-Runner \
280         SharedObjectTestRunner
281 endif
283 if MAKESWF_SUPPORTS_PREBUILT_CLIPS
284 if ENABLE_HTTP_TESTSUITE
285 check_SCRIPTS += remotingTestRunner
286 endif
287 if ENABLE_RED5_TESTING
288 check_SCRIPTS += red5test-runner
289 endif
290 if ENABLE_RTMPY_TESTING
291 check_SCRIPTS += rtmpytest-runner
292 endif
293 endif
295 if MING_VERSION_0_4
296 check_SCRIPTS += \
297         opcode_guard_testrunner \
298         get_frame_number_testrunner \
299         $(NULL) 
300 endif
302 if MING_SUPPORTS_INIT_ACTIONS
303 check_SCRIPTS += \
304         InitActionTest2Runner \
305         RegisterClassTest4Runner \
306         RegisterClassTest3Runner \
307         registerClassTest2runner \
308         $(NULL)
309 endif
311 if MING_SUPPORTS_REPLACE_TAG
312 check_SCRIPTS += \
313         PlaceObject2TestRunner \
314         $(NULL)
315 check_PROGRAMS += \
316         PlaceObject2Test \
317         replace_shapes1test_runner \
318         replace_sprites1test_runner \
319         replace_buttons1test_runner \
320         $(NULL)
321 endif
324 # TESTS = \
325 #       DefineEditTextVariableNameTest-Runner 
327 check_LTLIBRARIES = libgnashmingutils.la 
328 libgnashmingutils_la_SOURCES =  \
329         ming_utils.h            \
330         ming_utils.c
332 definebitsjpeg2_SOURCES = definebitsjpeg2.c
333 definebitsjpeg2_LDADD = $(MING_LIBS)
334 definebitsjpeg2.swf: definebitsjpeg2
335         ./definebitsjpeg2 $(srcdir)/../media/lynch.jpg
337 DefineTextTest.swf: DefineTextTest
338         ./DefineTextTest $(abs_mediadir)
340 DefineTextTest_SOURCES =  DefineTextTest.c
341 DefineTextTest_LDADD = libgnashmingutils.la
343 DefineTextTest_Runner_SOURCES = \
344         DefineTextTest-Runner.cpp \
345         $(NULL)
346 DefineTextTest_Runner_CXXFLAGS = \
347         -DTGTDIR='"$(abs_builddir)"' \
348         $(NULL)
349 DefineTextTest_Runner_LDADD =  \
350         $(top_builddir)/testsuite/libtestsuite.la \
351         $(AM_LDFLAGS) \
352         $(NULL)
353 DefineTextTest_Runner_DEPENDENCIES = \
354         $(top_builddir)/testsuite/libtestsuite.la \
355         DefineTextTest.swf      \
356         $(NULL)
358 TextSnapshotTest.swf: TextSnapshotTest
359         ./TextSnapshotTest $(abs_mediadir)
361 TextSnapshotTest_SOURCES =  TextSnapshotTest.c
362 TextSnapshotTest_LDADD = libgnashmingutils.la
364 TextSnapshotTest-Runner: $(srcdir)/../generic-testrunner.sh TextSnapshotTest.swf
365         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) TextSnapshotTest.swf > $@
366         chmod 755 $@
368 DeviceFontTestRunner: $(srcdir)/../generic-testrunner.sh DeviceFontTest.swf
369         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) DeviceFontTest.swf > $@
370         chmod 755 $@
371 DeviceFontTest.swf: DeviceFontTest
372         ./DeviceFontTest $(abs_mediadir)
373 DeviceFontTest_SOURCES =  DeviceFontTest.c
374 DeviceFontTest_LDADD = libgnashmingutils.la
376 EmbeddedFontTestRunner: $(srcdir)/../generic-testrunner.sh EmbeddedFontTest.swf
377         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) EmbeddedFontTest.swf > $@
378         chmod 755 $@
379 EmbeddedFontTest.swf: EmbeddedFontTest
380         ./EmbeddedFontTest $(abs_mediadir)
381 EmbeddedFontTest_SOURCES =  EmbeddedFontTest.c
382 EmbeddedFontTest_LDADD = libgnashmingutils.la
384 DefineEditTextTest.swf: DefineEditTextTest
385         ./DefineEditTextTest $(abs_mediadir)
386 DefineEditTextTest_SOURCES =  DefineEditTextTest.c
387 DefineEditTextTest_LDADD = libgnashmingutils.la
389 DefineEditTextTest_Runner_SOURCES = \
390         DefineEditTextTest-Runner.cpp \
391         $(NULL)
392 DefineEditTextTest_Runner_CXXFLAGS = \
393         -DTGTDIR='"$(abs_builddir)"' \
394         $(NULL)
395 DefineEditTextTest_Runner_LDADD = \
396         $(top_builddir)/testsuite/libtestsuite.la \
397          $(AM_LDFLAGS) \
398         $(NULL)
399 DefineEditTextTest_Runner_DEPENDENCIES = \
400         $(top_builddir)/testsuite/libtestsuite.la \
401         DefineEditTextTest.swf      \
402         $(NULL)
404 spritehier_SOURCES =  spritehier.c
405 spritehier_LDADD = $(MING_LIBS)
407 opcode_guard_test_SOURCES =     \
408         opcode_guard_test.c     \
409         $(NULL)
410 opcode_guard_test_LDADD = libgnashmingutils.la
412 opcode_guard_test.swf: opcode_guard_test
413         ./opcode_guard_test $(abs_mediadir)
415 opcode_guard_testrunner: $(srcdir)/../generic-testrunner.sh opcode_guard_test.swf
416         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) opcode_guard_test.swf > $@
417         chmod 755 $@
419 runtime_vm_stack_test_SOURCES = \
420         runtime_vm_stack_test.c \
421         $(NULL)
422 runtime_vm_stack_test_LDADD = libgnashmingutils.la
424 runtime_vm_stack_test.swf: runtime_vm_stack_test
425         ./runtime_vm_stack_test $(abs_mediadir)
427 runtime_vm_stack_testrunner: $(srcdir)/../generic-testrunner.sh runtime_vm_stack_test.swf
428         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) runtime_vm_stack_test.swf > $@
429         chmod 755 $@
431 new_child_in_unload_test_SOURCES =      \
432         new_child_in_unload_test.c      \
433         $(NULL)
434 new_child_in_unload_test_LDADD = libgnashmingutils.la
436 new_child_in_unload_test.swf: new_child_in_unload_test
437         ./new_child_in_unload_test $(abs_mediadir)
439 new_child_in_unload_testrunner: $(srcdir)/../generic-testrunner.sh new_child_in_unload_test.swf
440         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) new_child_in_unload_test.swf > $@
441         chmod 755 $@
443 PlaceObject2Test_SOURCES =      \
444         PlaceObject2Test.c      \
445         $(NULL)
446 PlaceObject2Test_LDADD = libgnashmingutils.la
448 PlaceObject2Test.swf: PlaceObject2Test
449         ./PlaceObject2Test $(abs_mediadir)
451 PlaceObject2TestRunner: $(srcdir)/../generic-testrunner.sh PlaceObject2Test.swf
452         sh $(srcdir)/../generic-testrunner.sh -r5 $(top_builddir) PlaceObject2Test.swf > $@
453         chmod 755 $@
455 RemoveObject2Test_SOURCES = RemoveObject2Test.c
456 RemoveObject2Test_LDADD = libgnashmingutils.la
458 eventSoundTest1_SOURCES = eventSoundTest1.c
459 eventSoundTest1_LDADD = libgnashmingutils.la
461 eventSoundTest1.swf: eventSoundTest1
462         ./eventSoundTest1 $(srcdir)/../media/brokenchord.wav \
463         $(srcdir)/../media/
465 eventSoundTest1_Runner_SOURCES = \
466         eventSoundTest1-Runner.cpp \
467         $(NULL)
468 eventSoundTest1_Runner_CXXFLAGS = \
469         -DTGTDIR='"$(abs_builddir)"' \
470         $(NULL)
471 eventSoundTest1_Runner_LDADD = \
472         $(top_builddir)/testsuite/libtestsuite.la \
473         $(AM_LDFLAGS) \
474         $(NULL)
475 eventSoundTest1_Runner_DEPENDENCIES = \
476         $(top_builddir)/testsuite/libtestsuite.la \
477         eventSoundTest1.swf      \
478         $(NULL)
480 streamingSoundTest1_SOURCES = streamingSoundTest1.c
481 streamingSoundTest1_LDADD = libgnashmingutils.la
483 streamingSoundTest1.swf: streamingSoundTest1
484         ./streamingSoundTest1 $(srcdir)/../media/sound1.mp3
486 streamingSoundTest1_Runner_SOURCES = \
487         streamingSoundTest1-Runner.cpp \
488         $(NULL)
489 streamingSoundTest1_Runner_CXXFLAGS = \
490         -DTGTDIR='"$(abs_builddir)"' \
491         $(NULL)
492 streamingSoundTest1_Runner_LDADD = \
493         $(top_builddir)/testsuite/libtestsuite.la \
494         $(AM_LDFLAGS) \
495         $(NULL)
496 streamingSoundTest1_Runner_DEPENDENCIES = \
497         $(top_builddir)/testsuite/libtestsuite.la \
498         streamingSoundTest1.swf      \
499         $(NULL)
502 DefineEditTextVariableNameTest_SOURCES =        \
503         DefineEditTextVariableNameTest.c        \
504         $(NULL)
505 DefineEditTextVariableNameTest_LDADD = libgnashmingutils.la
507 DefineEditTextVariableNameTest.swf: DefineEditTextVariableNameTest
508         ./DefineEditTextVariableNameTest $(abs_mediadir)
510 DefineEditTextVariableNameTest_Runner_SOURCES = \
511         DefineEditTextVariableNameTest-Runner.cpp \
512         $(NULL)
513 DefineEditTextVariableNameTest_Runner_LDADD = \
514         $(top_builddir)/testsuite/libtestsuite.la \
515         $(AM_LDFLAGS) \
516         $(NULL)
517 DefineEditTextVariableNameTest_Runner_DEPENDENCIES = \
518         $(top_builddir)/testsuite/libtestsuite.la \
519         DefineEditTextVariableNameTest.swf      \
520         $(NULL)
523 DefineEditTextVariableNameTest2_SOURCES =       \
524         DefineEditTextVariableNameTest2.c       \
525         $(NULL)
526 DefineEditTextVariableNameTest2_LDADD = libgnashmingutils.la
528 DefineEditTextVariableNameTest2.swf: DefineEditTextVariableNameTest2
529         ./DefineEditTextVariableNameTest2 $(abs_mediadir)
531 DefineEditTextVariableNameTest2-Runner: $(srcdir)/../generic-testrunner.sh DefineEditTextVariableNameTest2.swf
532         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) DefineEditTextVariableNameTest2.swf > $@
533         chmod 755 $@
535 timeline_var_test_SOURCES =     \
536         timeline_var_test.c     \
537         $(NULL)
538 timeline_var_test_LDADD = libgnashmingutils.la
540 timeline_var_test.swf: timeline_var_test
541         ./timeline_var_test $(abs_mediadir)
543 timeline_var_test-Runner: $(srcdir)/../generic-testrunner.sh timeline_var_test.swf
544         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) timeline_var_test.swf > $@
545         chmod 755 $@
547 root_stop_test_SOURCES = root_stop_test.c
548 root_stop_test_LDADD = libgnashmingutils.la
550 root_stop_test.swf: root_stop_test
551         ./root_stop_test $(abs_mediadir)
553 root_stop_testrunner_SOURCES = \
554         root_stop_testrunner.cpp \
555         $(NULL)
556 root_stop_testrunner_LDADD = \
557         $(top_builddir)/testsuite/libtestsuite.la \
558         $(AM_LDFLAGS) \
559         $(NULL)
560 root_stop_testrunner_CXXFLAGS = \
561         -DSRCDIR='"$(srcdir)"' \
562         -DTGTDIR='"$(abs_builddir)"' 
563 root_stop_testrunner_DEPENDENCIES = \
564         $(top_builddir)/testsuite/libtestsuite.la \
565         root_stop_test.swf      \
566         $(NULL)
568 shape_test_SOURCES = shape_test.c
569 shape_test_LDADD = libgnashmingutils.la
571 shape_test.swf: shape_test
572         ./shape_test $(abs_mediadir)
574 shape_testrunner: $(srcdir)/../generic-testrunner.sh shape_test.swf
575         sh $(srcdir)/../generic-testrunner.sh -f20 $(top_builddir) shape_test.swf > $@
576         chmod 755 $@
578 morph_test1_SOURCES = morph_test1.c
579 morph_test1_LDADD = libgnashmingutils.la
581 morph_test1.swf: morph_test1
582         ./morph_test1 $(abs_mediadir)
584 morph_test1runner_SOURCES = \
585         morph_test1runner.cpp \
586         $(NULL)
587 morph_test1runner_LDADD = \
588         $(top_builddir)/testsuite/libtestsuite.la \
589         $(AM_LDFLAGS) \
590         $(NULL)
591 morph_test1runner_CXXFLAGS = \
592         -DSRCDIR='"$(srcdir)"' \
593         -DTGTDIR='"$(abs_builddir)"' \
594         $(NULL)
595 morph_test1runner_DEPENDENCIES = \
596         morph_test1.swf \
597         $(top_builddir)/testsuite/libtestsuite.la \
598         $(NULL)
600 key_event_test_SOURCES = key_event_test.c
601 key_event_test_LDADD = libgnashmingutils.la
603 key_event_test.swf: key_event_test
604         ./key_event_test $(abs_mediadir)
606 key_event_testrunner_SOURCES = \
607         key_event_testrunner.cpp \
608         $(NULL)
609 key_event_testrunner_LDADD = \
610         $(top_builddir)/testsuite/libtestsuite.la \
611         $(AM_LDFLAGS) \
612         $(NULL)
613 key_event_testrunner_CXXFLAGS = \
614         -DSRCDIR='"$(srcdir)"' \
615         -DTGTDIR='"$(abs_builddir)"' \
616         $(NULL)
617 key_event_testrunner_DEPENDENCIES = \
618         key_event_test.swf \
619         $(top_builddir)/testsuite/libtestsuite.la \
620         $(NULL)
622 KeyEventOrder_SOURCES = KeyEventOrder.c
623 KeyEventOrder_LDADD = libgnashmingutils.la
625 KeyEventOrder.swf: KeyEventOrder
626         ./KeyEventOrder $(abs_mediadir)
628 KeyEventOrderRunner_SOURCES = \
629         KeyEventOrderRunner.cpp \
630         $(NULL)
631 KeyEventOrderRunner_LDADD = \
632         $(top_builddir)/testsuite/libtestsuite.la \
633         $(AM_LDFLAGS) \
634         $(NULL)
635 KeyEventOrderRunner_CXXFLAGS = \
636         -DSRCDIR='"$(srcdir)"' \
637         -DTGTDIR='"$(abs_builddir)"' \
638         $(NULL)
639 KeyEventOrderRunner_DEPENDENCIES = \
640         KeyEventOrder.swf \
641         $(top_builddir)/testsuite/libtestsuite.la \
642         $(NULL)
644 place_object_test_SOURCES = place_object_test.c 
645 place_object_test_LDADD = libgnashmingutils.la
647 place_object_test.swf: place_object_test
648         ./place_object_test $(abs_mediadir)
650 place_object_testrunner: $(srcdir)/../generic-testrunner.sh place_object_test.swf
651         sh $(srcdir)/../generic-testrunner.sh -r5 $(top_builddir) place_object_test.swf > $@
652         chmod 755 $@
655 place_object_test2_SOURCES = place_object_test2.c       
656 place_object_test2_LDADD = libgnashmingutils.la
658 place_object_test2.swf: place_object_test2
659         ./place_object_test2 $(abs_mediadir)
661 place_object_test2runner: $(srcdir)/../generic-testrunner.sh place_object_test2.swf
662         sh $(srcdir)/../generic-testrunner.sh -r5 $(top_builddir) place_object_test2.swf > $@
663         chmod 755 $@
665 move_object_test_SOURCES =      \
666         move_object_test.c      \
667         $(NULL)
668 move_object_test_LDADD = libgnashmingutils.la
670 move_object_test.swf: move_object_test
671         ./move_object_test $(abs_mediadir)
673 move_object_testrunner: $(srcdir)/../generic-testrunner.sh move_object_test.swf
674         sh $(srcdir)/../generic-testrunner.sh -r5 $(top_builddir) move_object_test.swf > $@
675         chmod 755 $@
677 place_and_remove_object_test_SOURCES =  \
678         place_and_remove_object_test.c  \
679         $(NULL)
680 place_and_remove_object_test_LDADD = libgnashmingutils.la
682 place_and_remove_object_test.swf: place_and_remove_object_test
683         ./place_and_remove_object_test $(abs_mediadir)
685 place_and_remove_object_testrunner: $(srcdir)/../generic-testrunner.sh place_and_remove_object_test.swf
686         sh $(srcdir)/../generic-testrunner.sh -r5 $(top_builddir) place_and_remove_object_test.swf > $@
687         chmod 755 $@
689 place_and_remove_object_insane_test_SOURCES =   \
690         place_and_remove_object_insane_test.c   \
691         $(NULL)
692 place_and_remove_object_insane_test_LDADD = libgnashmingutils.la
694 place_and_remove_object_insane_test.swf: place_and_remove_object_insane_test
695         ./place_and_remove_object_insane_test $(abs_mediadir)
697 place_and_remove_object_insane_testrunner: $(srcdir)/../generic-testrunner.sh place_and_remove_object_insane_test.swf
698         sh $(srcdir)/../generic-testrunner.sh -r5 $(top_builddir) place_and_remove_object_insane_test.swf > $@
699         chmod 755 $@
701 unload_movieclip_test1_SOURCES =        \
702         unload_movieclip_test1.c        \
703         $(NULL)
704 unload_movieclip_test1_LDADD = libgnashmingutils.la
706 unload_movieclip_test1.swf: unload_movieclip_test1
707         ./unload_movieclip_test1 $(abs_mediadir)
709 unload_movieclip_test1runner: $(srcdir)/../generic-testrunner.sh unload_movieclip_test1.swf
710         sh $(srcdir)/../generic-testrunner.sh -f10 $(top_builddir) unload_movieclip_test1.swf > $@
711         chmod 755 $@
713 DepthLimitsTest_SOURCES = DepthLimitsTest.c
714 DepthLimitsTest_LDADD = libgnashmingutils.la
716 DepthLimitsTest.swf: DepthLimitsTest
717         ./DepthLimitsTest $(abs_mediadir)
719 DepthLimitsTestrunner: $(srcdir)/../generic-testrunner.sh DepthLimitsTest.swf
720         sh $(srcdir)/../generic-testrunner.sh -r5 $(top_builddir) DepthLimitsTest.swf > $@
721         chmod 755 $@
724 replace_shapes1test_SOURCES = replace_shapes1test.c     
725 replace_shapes1test_LDADD = libgnashmingutils.la
727 replace_shapes1test.swf: replace_shapes1test
728         ./replace_shapes1test $(abs_mediadir)
730 replace_shapes1test_runner_SOURCES = \
731         replace_shapes1test_runner.cpp \
732         $(NULL)
733 replace_shapes1test_runner_CXXFLAGS = \
734         -DTGTDIR='"$(abs_builddir)"' \
735         $(NULL)
736 replace_shapes1test_runner_LDADD = \
737         $(top_builddir)/testsuite/libtestsuite.la \
738         $(AM_LDFLAGS) \
739         $(NULL)
740 replace_shapes1test_runner_DEPENDENCIES = \
741         $(top_builddir)/testsuite/libtestsuite.la \
742         replace_shapes1test.swf      \
743         $(NULL)
745 replace_sprites1test_SOURCES = replace_sprites1test.c   
746 replace_sprites1test_LDADD = libgnashmingutils.la
748 replace_sprites1test.swf: replace_sprites1test
749         ./replace_sprites1test $(abs_mediadir)
751 replace_sprites1test_runner_SOURCES = \
752         replace_sprites1test_runner.cpp \
753         $(NULL)
754 replace_sprites1test_runner_CXXFLAGS = \
755         -DTGTDIR='"$(abs_builddir)"' \
756         $(NULL)
757 replace_sprites1test_runner_LDADD = \
758         $(top_builddir)/testsuite/libtestsuite.la \
759         $(AM_LDFLAGS) \
760         $(NULL)
761 replace_sprites1test_runner_DEPENDENCIES = \
762         $(top_builddir)/testsuite/libtestsuite.la \
763         replace_sprites1test.swf      \
764         $(NULL)
766 replace_buttons1test_SOURCES = replace_buttons1test.c   
767 replace_buttons1test_LDADD = libgnashmingutils.la
769 replace_buttons1test.swf: replace_buttons1test
770         ./replace_buttons1test $(abs_mediadir)
772 replace_buttons1test_runner_SOURCES = \
773         replace_buttons1test_runner.cpp \
774         $(NULL)
775 replace_buttons1test_runner_CXXFLAGS = \
776         -DTGTDIR='"$(abs_builddir)"' \
777         $(NULL)
778 replace_buttons1test_runner_LDADD = \
779         $(top_builddir)/testsuite/libtestsuite.la \
780         $(AM_LDFLAGS) \
781         $(NULL)
782 replace_buttons1test_runner_DEPENDENCIES = \
783         $(top_builddir)/testsuite/libtestsuite.la \
784         replace_buttons1test.swf      \
785         $(NULL)
788 masks_test_SOURCES =    \
789         masks_test.c    \
790         $(NULL)
791 masks_test_LDADD = libgnashmingutils.la
793 masks_test.swf: masks_test
794         ./masks_test $(abs_mediadir)
796 masks_testrunner_SOURCES = \
797         masks_testrunner.cpp \
798         $(NULL)
799 masks_testrunner_CXXFLAGS = \
800         -DTGTDIR='"$(abs_builddir)"' \
801         $(NULL)
802 masks_testrunner_LDADD = \
803         $(top_builddir)/testsuite/libtestsuite.la \
804         $(AM_LDFLAGS) \
805         $(NULL)
806 masks_testrunner_DEPENDENCIES = \
807         $(top_builddir)/testsuite/libtestsuite.la \
808         masks_test.swf      \
809         $(NULL)
812 masks_test2_SOURCES =   \
813         masks_test2.c   \
814         $(NULL)
815 masks_test2_LDADD = libgnashmingutils.la
817 masks_test2.swf: masks_test2
818         ./masks_test2 $(abs_mediadir)
820 masks_test2runner_SOURCES = \
821         masks_test2runner.cpp \
822         $(NULL)
823 masks_test2runner_CXXFLAGS = \
824         -DTGTDIR='"$(abs_builddir)"' \
825         $(NULL)
826 masks_test2runner_LDADD = \
827         $(top_builddir)/testsuite/libtestsuite.la \
828         $(AM_LDFLAGS) \
829         $(NULL)
830 masks_test2runner_DEPENDENCIES = \
831         $(top_builddir)/testsuite/libtestsuite.la \
832         masks_test2.swf      \
833         $(NULL)
835 matrix_test_SOURCES =   \
836         matrix_test.c   \
837         $(NULL)
838 matrix_test_LDADD = libgnashmingutils.la
840 matrix_test.swf: matrix_test
841         ./matrix_test $(abs_mediadir)
843 matrix_testrunner: $(srcdir)/../generic-testrunner.sh matrix_test.swf
844         sh $(srcdir)/../generic-testrunner.sh -r5 $(top_builddir) matrix_test.swf > $@
845         chmod 755 $@
847 get_frame_number_test_SOURCES = \
848         get_frame_number_test.c \
849         $(NULL)
850 get_frame_number_test_LDADD = libgnashmingutils.la
852 get_frame_number_test.swf: get_frame_number_test
853         ./get_frame_number_test $(abs_mediadir)
855 get_frame_number_testrunner: $(srcdir)/../generic-testrunner.sh get_frame_number_test.swf
856         sh $(srcdir)/../generic-testrunner.sh -f20 $(top_builddir) get_frame_number_test.swf > $@
857         chmod 755 $@
859 frame_label_test_SOURCES =      \
860         frame_label_test.c      \
861         $(NULL)
862 frame_label_test_LDADD = libgnashmingutils.la
864 frame_label_test.swf: frame_label_test
865         ./frame_label_test $(abs_mediadir)
867 frame_label_testrunner: $(srcdir)/../generic-testrunner.sh frame_label_test.swf
868         sh $(srcdir)/../generic-testrunner.sh -r5 $(top_builddir) frame_label_test.swf > $@
869         chmod 755 $@
871 path_format_test_SOURCES =      \
872         path_format_test.c      \
873         $(NULL)
874 path_format_test_LDADD = libgnashmingutils.la
876 path_format_test.swf: path_format_test
877         ./path_format_test $(abs_mediadir)
879 path_format_testrunner: $(srcdir)/../generic-testrunner.sh path_format_test.swf
880         sh $(srcdir)/../generic-testrunner.sh -r5 $(top_builddir) path_format_test.swf > $@
881         chmod 755 $@
883 callFunction_test_SOURCES =     \
884         callFunction_test.c     \
885         $(NULL)
886 callFunction_test_LDADD = libgnashmingutils.la
888 callFunction_test.swf: callFunction_test
889         ./callFunction_test $(abs_mediadir)
891 callFunction_testrunner: $(srcdir)/../generic-testrunner.sh callFunction_test.swf
892         sh $(srcdir)/../generic-testrunner.sh -r5 $(top_builddir) callFunction_test.swf > $@
893         chmod 755 $@
895 duplicate_movie_clip_test_SOURCES =     \
896         duplicate_movie_clip_test.c     \
897         $(NULL)
898 duplicate_movie_clip_test_LDADD = libgnashmingutils.la
900 duplicate_movie_clip_test.swf: duplicate_movie_clip_test
901         ./duplicate_movie_clip_test $(abs_mediadir)
903 duplicate_movie_clip_testrunner: $(srcdir)/../generic-testrunner.sh duplicate_movie_clip_test.swf
904         sh $(srcdir)/../generic-testrunner.sh -r5 $(top_builddir) duplicate_movie_clip_test.swf > $@
905         chmod 755 $@
908 duplicate_movie_clip_test2_SOURCES =    \
909         duplicate_movie_clip_test2.c    \
910         $(NULL)
911 duplicate_movie_clip_test2_LDADD = libgnashmingutils.la
913 duplicate_movie_clip_test2.swf: duplicate_movie_clip_test2
914         ./duplicate_movie_clip_test2 $(abs_mediadir)
916 duplicate_movie_clip_test2runner: $(srcdir)/../generic-testrunner.sh duplicate_movie_clip_test2.swf
917         sh $(srcdir)/../generic-testrunner.sh -r5 $(top_builddir) duplicate_movie_clip_test2.swf > $@
918         chmod 755 $@
921 event_handler_scope_test_SOURCES =      \
922         event_handler_scope_test.c      \
923         $(NULL)
924 event_handler_scope_test_LDADD = libgnashmingutils.la
926 event_handler_scope_test.swf: event_handler_scope_test
927         ./event_handler_scope_test $(abs_mediadir)
929 event_handler_scope_testrunner: $(srcdir)/../generic-testrunner.sh event_handler_scope_test.swf
930         sh $(srcdir)/../generic-testrunner.sh -r5 $(top_builddir) event_handler_scope_test.swf > $@
931         chmod 755 $@
933 attachMovieTest_SOURCES =       \
934         attachMovieTest.c       \
935         $(NULL)
936 attachMovieTest_LDADD = libgnashmingutils.la
938 attachMovieTest.swf: attachMovieTest
939         ./attachMovieTest $(abs_mediadir)
941 attachMovieTestRunner_SOURCES = \
942         attachMovieTestRunner.cpp \
943         $(NULL)
944 attachMovieTestRunner_LDADD = \
945         $(top_builddir)/testsuite/libtestsuite.la \
946         $(AM_LDFLAGS) \
947         $(NULL)
948 attachMovieTestRunner_CXXFLAGS = \
949         -DSRCDIR='"$(srcdir)"' \
950         -DTGTDIR='"$(abs_builddir)"' \
951         $(NULL)
952 attachMovieTestRunner_DEPENDENCIES = \
953         attachMovieTest.swf \
954         $(top_builddir)/testsuite/libtestsuite.la \
955         $(NULL)
957 attachMovieLoopingTest_SOURCES =        \
958         attachMovieLoopingTest.c        \
959         $(NULL)
960 attachMovieLoopingTest_LDADD = libgnashmingutils.la
962 attachMovieLoopingTest.swf: attachMovieLoopingTest
963         ./attachMovieLoopingTest $(abs_mediadir)
965 attachMovieLoopingTestRunner_SOURCES = \
966         attachMovieLoopingTestRunner.cpp \
967         $(NULL)
968 attachMovieLoopingTestRunner_LDADD = \
969         $(top_builddir)/testsuite/libtestsuite.la \
970         $(AM_LDFLAGS) \
971         $(NULL)
972 attachMovieLoopingTestRunner_CXXFLAGS = \
973         -DSRCDIR='"$(srcdir)"' \
974         -DTGTDIR='"$(abs_builddir)"' \
975         $(NULL)
976 attachMovieLoopingTestRunner_DEPENDENCIES = \
977         attachMovieLoopingTest.swf \
978         $(top_builddir)/testsuite/libtestsuite.la \
979         $(NULL)
981 # This will only work with Ming-0.4.0beta2
982 # (support for prebuilt clips inclusion)
983 attachImported.swf: Dejagnu.swf $(srcdir)/attachImported.as attachMovieTest.swf
984         $(MAKESWF) -DOUTPUT_VERSION=6 -v6 -i attachMovieTest.swf:redsquare -o $@ Dejagnu.swf $(srcdir)/attachImported.as
985 attachImported-Runner: $(srcdir)/../generic-testrunner.sh attachImported.swf Makefile
986         sh $(srcdir)/../generic-testrunner.sh -r5 -c "END_OF_TEST" $(top_builddir) attachImported.swf > $@
987         chmod 755 $@
989 # This will only work with Ming-0.4.0beta2
990 # (support for prebuilt clips inclusion)
991 attachExtImported.swf: Dejagnu.swf $(srcdir)/attachExtImported.as attachImported.swf attachMovieTest.swf
992         $(MAKESWF) -DOUTPUT_VERSION=6 -v6 -i attachImported.swf:redsquare -o $@ Dejagnu.swf $(srcdir)/attachExtImported.as
993 attachExtImported-Runner: $(srcdir)/../generic-testrunner.sh attachExtImported.swf Makefile
994         sh $(srcdir)/../generic-testrunner.sh -r5 -c "END_OF_TEST" $(top_builddir) attachExtImported.swf > $@
995         chmod 755 $@
997 goto_frame_test_SOURCES =       \
998         goto_frame_test.c       \
999         $(NULL)
1000 goto_frame_test_LDADD = libgnashmingutils.la
1002 goto_frame_test.swf: goto_frame_test
1003         ./goto_frame_test $(abs_mediadir)
1005 goto_frame_testrunner: $(srcdir)/../generic-testrunner.sh goto_frame_test.swf
1006         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) goto_frame_test.swf > $@
1007         chmod 755 $@
1009 consecutive_goto_frame_test_SOURCES =   \
1010         consecutive_goto_frame_test.c   \
1011         $(NULL)
1012 consecutive_goto_frame_test_LDADD = libgnashmingutils.la
1014 consecutive_goto_frame_test.swf: consecutive_goto_frame_test
1015         ./consecutive_goto_frame_test $(abs_mediadir)
1017 consecutive_goto_frame_testrunner: $(srcdir)/../generic-testrunner.sh consecutive_goto_frame_test.swf
1018         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) consecutive_goto_frame_test.swf > $@
1019         chmod 755 $@
1021 multi_doactions_and_goto_frame_test_SOURCES =   \
1022         multi_doactions_and_goto_frame_test.c   \
1023         $(NULL)
1024 multi_doactions_and_goto_frame_test_LDADD = libgnashmingutils.la
1026 multi_doactions_and_goto_frame_test.swf: multi_doactions_and_goto_frame_test
1027         ./multi_doactions_and_goto_frame_test $(abs_mediadir)
1029 multi_doactions_and_goto_frame_testrunner: $(srcdir)/../generic-testrunner.sh multi_doactions_and_goto_frame_test.swf
1030         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) multi_doactions_and_goto_frame_test.swf > $@
1031         chmod 755 $@
1033 reverse_execute_PlaceObject2_test1_SOURCES =    \
1034         reverse_execute_PlaceObject2_test1.c    \
1035         $(NULL)
1036 reverse_execute_PlaceObject2_test1_LDADD = libgnashmingutils.la
1038 reverse_execute_PlaceObject2_test1.swf: reverse_execute_PlaceObject2_test1
1039         ./reverse_execute_PlaceObject2_test1 $(abs_mediadir)
1041 reverse_execute_PlaceObject2_test1runner: $(srcdir)/../generic-testrunner.sh reverse_execute_PlaceObject2_test1.swf
1042         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) reverse_execute_PlaceObject2_test1.swf > $@
1043         chmod 755 $@
1045 reverse_execute_PlaceObject2_test2_SOURCES =    \
1046         reverse_execute_PlaceObject2_test2.c    \
1047         $(NULL)
1048 reverse_execute_PlaceObject2_test2_LDADD = libgnashmingutils.la
1050 reverse_execute_PlaceObject2_test2.swf: reverse_execute_PlaceObject2_test2
1051         ./reverse_execute_PlaceObject2_test2 $(abs_mediadir)
1053 reverse_execute_PlaceObject2_test2runner: $(srcdir)/../generic-testrunner.sh reverse_execute_PlaceObject2_test2.swf
1054         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) reverse_execute_PlaceObject2_test2.swf > $@
1055         chmod 755 $@
1057 BitmapDataTest_SOURCES = \
1058         BitmapDataTest.c \
1059         $(NULL)
1061 BitmapDataTest_CFLAGS = \
1062         -DMEDIADIR='"$(abs_mediadir)"' \
1063         $(NULL)
1065 BitmapDataTest_LDADD = libgnashmingutils.la
1067 BitmapDataTest.swf: BitmapDataTest
1068         ./BitmapDataTest $(abs_mediadir)
1070 BitmapDataTestRunner_SOURCES = \
1071         BitmapDataTestRunner.cpp \
1072         $(NULL)
1074 BitmapDataTestRunner_CXXFLAGS = \
1075         -DSRCDIR='"$(srcdir)"' \
1076         -DTGTDIR='"$(abs_builddir)"' \
1077         $(NULL)
1079 BitmapDataTestRunner_LDADD = \
1080         $(top_builddir)/testsuite/libtestsuite.la \
1081         $(AM_LDFLAGS) \
1082         $(NULL)
1084 BitmapDataTestRunner_DEPENDENCIES = \
1085         $(top_builddir)/testsuite/libtestsuite.la \
1086         BitmapDataTest.swf      \
1087         $(NULL)
1089 BitmapDataDraw_SOURCES = \
1090         BitmapDataDraw.c \
1091         $(NULL)
1093 BitmapDataDraw_CFLAGS = \
1094         -DMEDIADIR='"$(abs_mediadir)"' \
1095         $(NULL)
1097 BitmapDataDraw_LDADD = libgnashmingutils.la
1099 BitmapDataDraw.swf: BitmapDataDraw
1100         ./BitmapDataDraw $(abs_mediadir)
1102 BitmapDataDrawRunner: $(srcdir)/../generic-testrunner.sh BitmapDataDraw.swf
1103         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) BitmapDataDraw.swf > $@
1104         chmod 755 $@
1106 BeginBitmapFill_SOURCES = \
1107         BeginBitmapFill.c \
1108         $(NULL)
1110 BeginBitmapFill_CFLAGS = \
1111         -DMEDIADIR='"$(abs_mediadir)"' \
1112         $(NULL)
1114 BeginBitmapFill_LDADD = libgnashmingutils.la
1116 BeginBitmapFill.swf: BeginBitmapFill
1117         ./BeginBitmapFill $(abs_mediadir)
1119 BeginBitmapFillRunner_SOURCES = \
1120         BeginBitmapFillRunner.cpp \
1121         $(NULL)
1123 BeginBitmapFillRunner_CXXFLAGS = \
1124         -DSRCDIR='"$(srcdir)"' \
1125         -DTGTDIR='"$(abs_builddir)"' \
1126         $(NULL)
1128 BeginBitmapFillRunner_LDADD = \
1129         $(top_builddir)/testsuite/libtestsuite.la \
1130         $(AM_LDFLAGS) \
1131         $(NULL)
1133 BeginBitmapFillRunner_DEPENDENCIES = \
1134         $(top_builddir)/testsuite/libtestsuite.la \
1135         BeginBitmapFill.swf     \
1136         $(NULL)
1138 EmbeddedSoundTest_SOURCES = \
1139         EmbeddedSoundTest.c \
1140         $(NULL)
1142 EmbeddedSoundTest_CFLAGS = \
1143         -DMEDIADIR='"$(abs_mediadir)"' \
1144         $(NULL)
1146 EmbeddedSoundTest_LDADD = libgnashmingutils.la
1148 EmbeddedSoundTest.swf: EmbeddedSoundTest
1149         ./EmbeddedSoundTest $(abs_mediadir)
1151 EmbeddedSoundTest_Runner_SOURCES = \
1152         EmbeddedSoundTest-Runner.cpp \
1153         $(NULL)
1155 EmbeddedSoundTest_Runner_CXXFLAGS = \
1156         -DSRCDIR='"$(srcdir)"' \
1157         -DTGTDIR='"$(abs_builddir)"' \
1158         $(NULL)
1160 EmbeddedSoundTest_Runner_LDADD = \
1161         $(top_builddir)/testsuite/libtestsuite.la \
1162         $(AM_LDFLAGS) \
1163         $(NULL)
1165 EmbeddedSoundTest_Runner_DEPENDENCIES = \
1166         $(top_builddir)/testsuite/libtestsuite.la \
1167         EmbeddedSoundTest.swf   \
1168         $(NULL)
1170 BitmapSmoothingTest_SOURCES = \
1171         BitmapSmoothingTest.c \
1172         $(NULL)
1174 BitmapSmoothingTest_CFLAGS = \
1175         -DMEDIADIR='"$(abs_mediadir)"' \
1176         $(NULL)
1178 BitmapSmoothingTest_LDADD = libgnashmingutils.la
1180 BitmapSmoothingTest-v7.swf: BitmapSmoothingTest
1181         ./BitmapSmoothingTest 7
1183 BitmapSmoothingTest-v8.swf: BitmapSmoothingTest
1184         ./BitmapSmoothingTest 8
1186 registerClassTest_SOURCES =     \
1187         registerClassTest.c     \
1188         $(NULL)
1189 registerClassTest_LDADD = libgnashmingutils.la
1191 registerClassTest.swf: registerClassTest
1192         ./registerClassTest $(abs_mediadir)
1194 registerClassTestRunner_SOURCES = \
1195         registerClassTestRunner.cpp \
1196         $(NULL)
1197 registerClassTestRunner_LDADD = \
1198         $(top_builddir)/testsuite/libtestsuite.la \
1199         $(AM_LDFLAGS) \
1200         $(NULL)
1201 registerClassTestRunner_CXXFLAGS = \
1202         -DSRCDIR='"$(srcdir)"' \
1203         -DTGTDIR='"$(abs_builddir)"' \
1204         $(NULL)
1205 registerClassTestRunner_DEPENDENCIES = \
1206         registerClassTest.swf \
1207         $(top_builddir)/testsuite/libtestsuite.la \
1208         $(NULL)
1210 registerClassTest2_SOURCES =    \
1211         registerClassTest2.c    \
1212         $(NULL)
1213 registerClassTest2_LDADD = libgnashmingutils.la
1215 registerClassTest2.swf: registerClassTest2
1216         ./registerClassTest2 $(abs_mediadir)
1218 registerClassTest2runner: $(srcdir)/../generic-testrunner.sh registerClassTest2.swf
1219         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) registerClassTest2.swf > $@
1220         chmod 755 $@
1222 spritehier.swf: spritehier
1223         ./spritehier
1225 RemoveObject2Test.swf: RemoveObject2Test 
1226         ./RemoveObject2Test
1228 RollOverOutTest_SOURCES =       \
1229         RollOverOutTest.c       \
1230         $(NULL)
1231 RollOverOutTest_LDADD = libgnashmingutils.la
1232 RollOverOutTest.swf: RollOverOutTest
1233         ./RollOverOutTest $(abs_mediadir)
1234 RollOverOutTest_Runner_SOURCES = \
1235         RollOverOutTest-Runner.cpp \
1236         $(NULL)
1237 RollOverOutTest_Runner_LDADD = \
1238         $(top_builddir)/testsuite/libtestsuite.la \
1239         $(AM_LDFLAGS) \
1240         $(NULL)
1241 RollOverOutTest_Runner_CXXFLAGS = \
1242         -DSRCDIR='"$(srcdir)"' \
1243         -DTGTDIR='"$(abs_builddir)"' 
1244 RollOverOutTest_Runner_DEPENDENCIES = \
1245         $(top_builddir)/testsuite/libtestsuite.la \
1246         RollOverOutTest.swf     \
1247         $(NULL)
1249 ButtonEventsTest_SOURCES =      \
1250         ButtonEventsTest.c      \
1251         $(NULL)
1252 ButtonEventsTest_LDADD = libgnashmingutils.la
1253 ButtonEventsTest.swf: ButtonEventsTest
1254         ./ButtonEventsTest $(abs_mediadir)
1255 ButtonEventsTest_Runner_SOURCES = \
1256         ButtonEventsTest-Runner.cpp \
1257         $(NULL)
1258 ButtonEventsTest_Runner_LDADD = \
1259         $(top_builddir)/testsuite/libtestsuite.la \
1260         $(AM_LDFLAGS) \
1261         $(NULL)
1262 ButtonEventsTest_Runner_DEPENDENCIES = \
1263         $(top_builddir)/testsuite/libtestsuite.la \
1264         ButtonEventsTest.swf    \
1265         $(NULL)
1266 ButtonEventsTest_Runner_CXXFLAGS = \
1267         -DTGTDIR='"$(abs_builddir)"' \
1268         $(NULL)
1270 SpriteButtonEventsTest_SOURCES =        \
1271         SpriteButtonEventsTest.c        \
1272         $(NULL)
1273 SpriteButtonEventsTest_LDADD = libgnashmingutils.la
1274 SpriteButtonEventsTest.swf: SpriteButtonEventsTest
1275         ./SpriteButtonEventsTest $(abs_mediadir)
1276 SpriteButtonEventsTest_Runner_SOURCES = \
1277         SpriteButtonEventsTest-Runner.cpp \
1278         $(NULL)
1279 SpriteButtonEventsTest_Runner_LDADD = \
1280         $(top_builddir)/testsuite/libtestsuite.la \
1281         $(AM_LDFLAGS) \
1282         $(NULL)
1283 SpriteButtonEventsTest_Runner_DEPENDENCIES = \
1284         $(top_builddir)/testsuite/libtestsuite.la \
1285         SpriteButtonEventsTest.swf      \
1286         $(NULL)
1287 SpriteButtonEventsTest_Runner_CXXFLAGS = \
1288         -DTGTDIR='"$(abs_builddir)"' \
1289         $(NULL)
1291 ResolveEventsTest_SOURCES =     \
1292         ResolveEventsTest.c     \
1293         $(NULL)
1294 ResolveEventsTest_LDADD = libgnashmingutils.la
1295 ResolveEventsTest.swf: ResolveEventsTest
1296         ./ResolveEventsTest $(abs_mediadir)
1297 ResolveEventsTest_Runner_SOURCES = \
1298         ResolveEventsTest-Runner.cpp \
1299         $(NULL)
1300 ResolveEventsTest_Runner_LDADD = \
1301         $(top_builddir)/testsuite/libtestsuite.la \
1302         $(AM_LDFLAGS) \
1303         $(NULL)
1304 ResolveEventsTest_Runner_DEPENDENCIES = \
1305         $(top_builddir)/testsuite/libtestsuite.la \
1306         ResolveEventsTest.swf   \
1307         $(NULL)
1308 ResolveEventsTest_Runner_CXXFLAGS = \
1309         -DTGTDIR='"$(abs_builddir)"' \
1310         $(NULL)
1312 # This will only work with Ming-0.4.0beta2 (support for prebuilt clips inclusion)
1313 VarAndCharClashTest.swf: $(srcdir)/../media/green.swf Dejagnu.swf $(srcdir)/VarAndCharClashTest.as 
1314         $(MAKESWF) -o $@ Dejagnu.swf $(srcdir)/../media/green.swf $(srcdir)/VarAndCharClashTest.as
1315 VarAndCharClashTest-Runner: $(srcdir)/../generic-testrunner.sh VarAndCharClashTest.swf
1316         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) VarAndCharClashTest.swf > $@
1317         chmod 755 $@
1319 # This will only work with Ming-0.4.0beta2 (support for prebuilt clips inclusion)
1320 FlashVarsTest.swf: Dejagnu.swf FlashVarsTest.as 
1321         $(MAKESWF) -DOUTPUT_VERSION=6 -v6 -o $@ Dejagnu.swf $(srcdir)/FlashVarsTest.as
1322 FlashVarsTest-Runner: $(srcdir)/../generic-testrunner.sh FlashVarsTest.swf Makefile
1323         echo "$(top_builddir)/gui/gnash -1 -r0 -v -P 'FlashVars=?a=a_in_fvars&v=v_in_fvars&MixCaseFvars=mixFvars&dejagnu.nested=chFVars&_root.fqv=fqFVars&complex={a:'1',b:2}' 'FlashVarsTest.swf?a=a_in_qstring&q=q_in_qstring&MixCaseQstr=mixQstr&dejagnu.nested=chQstr&_root.fqv=fqQstr'" > $@
1324         chmod 755 $@
1326 # This will only work with Ming-0.4.0beta2 (support for prebuilt clips inclusion)
1327 SharedObjectTest.swf: Dejagnu.swf SharedObjectTest.as 
1328         $(MAKESWF) -DOUTPUT_VERSION=6 -v6 -o $@ Dejagnu.swf $(srcdir)/SharedObjectTest.as
1330 SharedObjectTestRunner: SharedObjectTestRunner.sh Makefile SharedObjectTest.swf
1331         sed -e 's#@@TOP_BUILDDIR@@#${abs_top_builddir}#' -e 's#@@BASEINPUTSOLDIR@@#${srcdir}/SharedObjectTest.sol#' $(srcdir)/SharedObjectTestRunner.sh > $@
1332         chmod +x $@
1334 StageConfigTest.swf: StageConfigTest.as 
1335         $(MAKESWF) -o $@ -s 512x512 $(srcdir)/StageConfigTest.as
1337 ButtonPropertiesTest_SOURCES = \
1338         ButtonPropertiesTest.c \
1339         $(NULL)
1340 ButtonPropertiesTest_LDADD = libgnashmingutils.la
1341 ButtonPropertiesTest.swf: ButtonPropertiesTest
1342         ./ButtonPropertiesTest $(abs_mediadir)
1343 ButtonPropertiesTestRunner_SOURCES = \
1344         ButtonPropertiesTestRunner.cpp \
1345         $(NULL)
1346 ButtonPropertiesTestRunner_LDADD = \
1347         $(top_builddir)/testsuite/libtestsuite.la \
1348         $(AM_LDFLAGS) \
1349         $(NULL)
1350 ButtonPropertiesTestRunner_DEPENDENCIES = \
1351         $(top_builddir)/testsuite/libtestsuite.la \
1352         ButtonPropertiesTest.swf        \
1353         $(NULL)
1354 ButtonPropertiesTestRunner_CXXFLAGS = \
1355         -DTGTDIR='"$(abs_builddir)"' \
1356         $(NULL)
1358 InitActionTest2_SOURCES =       \
1359         InitActionTest2.c       \
1360         $(NULL)
1361 InitActionTest2_LDADD = libgnashmingutils.la
1363 InitActionTest2.swf: InitActionTest2
1364         ./InitActionTest2 $(abs_mediadir)
1366 InitActionTest2Runner: $(srcdir)/../generic-testrunner.sh InitActionTest2.swf
1367         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) InitActionTest2.swf > $@
1368         chmod 755 $@
1370 RegisterClassTest3_SOURCES =    \
1371         RegisterClassTest3.c    \
1372         $(NULL)
1373 RegisterClassTest3_LDADD = libgnashmingutils.la
1375 RegisterClassTest3.swf: RegisterClassTest3
1376         ./RegisterClassTest3 $(abs_mediadir)
1378 RegisterClassTest3Runner: $(srcdir)/../generic-testrunner.sh RegisterClassTest3.swf
1379         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) RegisterClassTest3.swf > $@
1380         chmod 755 $@
1382 RegisterClassTest4_SOURCES =    \
1383         RegisterClassTest4.c    \
1384         $(NULL)
1385 RegisterClassTest4_LDADD = libgnashmingutils.la
1387 RegisterClassTest4.swf: RegisterClassTest4
1388         ./RegisterClassTest4 $(abs_mediadir)
1390 RegisterClassTest4Runner: $(srcdir)/../generic-testrunner.sh RegisterClassTest4.swf
1391         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) RegisterClassTest4.swf > $@
1392         chmod 755 $@
1394 init_action_test_SOURCES =      \
1395         init_action_test.c      \
1396         $(NULL)
1397 init_action_test_LDADD = libgnashmingutils.la
1399 init_action_test.swf: init_action_test
1400         ./init_action_test $(abs_mediadir)
1402 init_action_testrunner: $(srcdir)/../generic-testrunner.sh init_action_test.swf
1403         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) init_action_test.swf > $@
1404         chmod 755 $@
1406 intervalTest.swf: $(srcdir)/../media/green.swf Dejagnu.swf intervalTest.as 
1407         $(MAKESWF) -o $@ Dejagnu.swf $(srcdir)/intervalTest.as
1408 intervalTestRunner_SOURCES = \
1409         intervalTestRunner.cpp \
1410         $(NULL)
1411 intervalTestRunner_CXXFLAGS = \
1412         -DSRCDIR='"$(srcdir)"' \
1413         -DTGTDIR='"$(abs_builddir)"' \
1414         $(NULL)
1415 intervalTestRunner_LDADD = \
1416         $(top_builddir)/testsuite/libtestsuite.la \
1417         $(AM_LDFLAGS) \
1418         $(NULL)
1419 intervalTestRunner_DEPENDENCIES = \
1420         $(top_builddir)/testsuite/libtestsuite.la \
1421         intervalTest.swf        \
1422         $(NULL)
1424 gotoFrame2Test.swf: $(srcdir)/../media/green.swf Dejagnu.swf gotoFrame2Test.as 
1425         $(MAKESWF) -o $@ -iDejagnu.swf:dejagnu $(srcdir)/../actionscript.all/dejagnu_so_init.as \
1426                 $(srcdir)/gotoFrame2Test.as 
1428 gotoFrame2Test-Runner: $(srcdir)/../generic-testrunner.sh gotoFrame2Test.swf
1429         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) gotoFrame2Test.swf > $@
1430         chmod 755 $@
1432 LC-Receive.swf: LC-Receive.as 
1433         $(MAKESWF) -v 8 -r 1 -o $@  $(srcdir)/empty.as LC-Receive.as
1435 LC-Send.swf: LC-Send.as 
1436         $(MAKESWF) -v 8 -r 1 -o $@  $(srcdir)/empty.as LC-Send.as
1438 LCTestRunner: $(srcdir)/../simultaneous-testrunner.sh LC-Receive.swf LC-Send.swf
1439         sh $(srcdir)/../simultaneous-testrunner.sh -c "ENDOFTEST" $(top_builddir) LC-Receive.swf LC-Send.swf > $@
1440         chmod 755 $@
1442 XMLSocketTest.swf: XMLSocketTest.as 
1443         $(MAKESWF) -r 1 -o $@  $(srcdir)/empty.as $(srcdir)/XMLSocketTest.as
1445 XMLSocketTester: XMLSocketTester.sh XMLSocketTest.swf
1446         sh $(srcdir)/XMLSocketTester.sh -c "ENDOFTEST" $(top_builddir) $(top_srcdir) $(PERL) \
1447                 XMLSocketTest.swf > $@
1448         chmod 755 $@
1450 GradientFillTest.swf: GradientFillTest.as 
1451         $(MAKESWF) -v 8 -r 1 -o $@  $(srcdir)/empty.as GradientFillTest.as
1453 GradientFillTestRunner: $(srcdir)/../generic-testrunner.sh GradientFillTest.swf
1454         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) GradientFillTest.swf > $@
1455         chmod 755 $@
1457 DrawingApiTest.swf: DrawingApiTest.as 
1458         $(MAKESWF) -r 1 -o $@  $(srcdir)/empty.as $(srcdir)/DrawingApiTest.as
1460 DrawingApiTestRunner_SOURCES = \
1461         DrawingApiTestRunner.cpp \
1462         $(NULL)
1463 DrawingApiTestRunner_CXXFLAGS = \
1464         -DSRCDIR='"$(srcdir)"' \
1465         -DTGTDIR='"$(abs_builddir)"' \
1466         $(NULL)
1467 DrawingApiTestRunner_LDADD = \
1468         $(top_builddir)/testsuite/libtestsuite.la \
1469         $(AM_LDFLAGS) \
1470         $(NULL)
1471 DrawingApiTestRunner_DEPENDENCIES = \
1472         $(top_builddir)/testsuite/libtestsuite.la \
1473         DrawingApiTest.swf      \
1474         $(NULL)
1476 PrototypeEventListeners.swf: PrototypeEventListeners.as Dejagnu.swf Makefile ../actionscript.all/check.as ../actionscript.all/utils.as
1477         $(MAKESWF) -r12 -o $@ -v6 -DUSE_DEJAGNU_MODULE -DOUTPUT_VERSION=6 Dejagnu.swf $(srcdir)/PrototypeEventListeners.as
1479 PrototypeEventListenersTestRunner_SOURCES = \
1480         PrototypeEventListenersTestRunner.cpp \
1481         $(NULL)
1482 PrototypeEventListenersTestRunner_CXXFLAGS = \
1483         -DSRCDIR='"$(srcdir)"' \
1484         -DTGTDIR='"$(abs_builddir)"' \
1485         $(NULL)
1486 PrototypeEventListenersTestRunner_LDADD = \
1487         $(top_builddir)/testsuite/libtestsuite.la \
1488         $(AM_LDFLAGS) \
1489         $(NULL)
1490 PrototypeEventListenersTestRunner_DEPENDENCIES = \
1491         $(top_builddir)/testsuite/libtestsuite.la \
1492         PrototypeEventListeners.swf     \
1493         $(NULL)
1495 remoting.swf: remoting.as Dejagnu.swf Makefile ../actionscript.all/check.as ../actionscript.all/utils.as
1496         $(MAKESWF) -n network -r12 -o $@ -v7 -DHTTP_TESTSUITE='\"$(HTTP_TESTSUITE)\"' -DUSE_DEJAGNU_MODULE -DOUTPUT_VERSION=7 Dejagnu.swf $(srcdir)/remoting.as $(srcdir)/../actionscript.all/dejagnu_so_fini.as
1498 remotingTestRunner: $(srcdir)/../generic-testrunner.sh remoting.swf
1499         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) remoting.swf > $@
1500         chmod 755 $@
1502 red5test.swf: red5test.as Dejagnu.swf Makefile ../actionscript.all/check.as ../actionscript.all/utils.as
1503         $(MAKESWF) -n network -r12 -o $@ -v7 -DRED5_HOST='\"$(RED5_HOST)\"' \
1504                 -DUSE_DEJAGNU_MODULE -DOUTPUT_VERSION=7 Dejagnu.swf $(srcdir)/red5test.as \
1505                 $(srcdir)/../actionscript.all/dejagnu_so_fini.as
1507 red5test-runner: $(srcdir)/../generic-testrunner.sh red5test.swf
1508         sh $(srcdir)/../generic-testrunner.sh -c "ENDOFTEST" $(top_builddir) red5test.swf > $@
1509         chmod 755 $@
1511 rtmpytest.swf: rtmpytest.as Dejagnu.swf Makefile ../actionscript.all/check.as ../actionscript.all/utils.as
1512         $(MAKESWF) -n network -r12 -o $@ -v7 -DRTMPY_HOST='\"$(RTMPY_HOST)\"' \
1513                 -DUSE_DEJAGNU_MODULE -DOUTPUT_VERSION=7 Dejagnu.swf $(srcdir)/rtmpytest.as \
1514                 $(srcdir)/../actionscript.all/dejagnu_so_fini.as
1516 rtmpytest-runner: $(srcdir)/../generic-testrunner.sh rtmpytest.swf
1517         sh $(srcdir)/../generic-testrunner.sh -c "ENDOFTEST" $(top_builddir) rtmpytest.swf > $@
1518         chmod 755 $@
1520 case6.swf: case6.as Makefile ../actionscript.all/check.as
1521         $(MAKESWF) -v6 -o $@ -DUSE_DEJAGNU_MODULE -DOUTPUT_VERSION=6 -I$(srcdir)/../actionscript.all $(srcdir)/case6.as 
1523 case7.swf: case7.as Makefile ../actionscript.all/check.as
1524         $(MAKESWF) -v7 -o $@ -DUSE_DEJAGNU_MODULE -DOUTPUT_VERSION=7 -I$(srcdir)/../actionscript.all $(srcdir)/case7.as 
1526 caseTestRunner: $(srcdir)/../generic-testrunner.sh case6.swf case7.swf Makefile
1527         sh $(srcdir)/../generic-testrunner.sh -f10 -r10 -c '#total' $(top_builddir) case6.swf case7.swf > $@
1528         chmod 755 $@
1530 DragDropTest.swf: DragDropTest.as Dejagnu.swf DragDropTestLoaded.swf Makefile ../actionscript.all/check.as ../actionscript.all/utils.as
1531         $(MAKESWF) -r12 -o $@ -v6 -DUSE_DEJAGNU_MODULE -DOUTPUT_VERSION=6 Dejagnu.swf $(srcdir)/DragDropTest.as
1533 DragDropTestLoaded.swf: DragDropTest.as Makefile ../actionscript.all/check.as ../actionscript.all/utils.as
1534         $(MAKESWF) -r12 -o $@ -v6 -DUSE_DEJAGNU_MODULE -DOUTPUT_VERSION=6 -DLOADED_VERSION $(srcdir)/DragDropTest.as
1536 DragDropTestRunner_SOURCES = \
1537         DragDropTestRunner.cpp \
1538         $(NULL)
1539 DragDropTestRunner_CXXFLAGS = \
1540         -DSRCDIR='"$(srcdir)"' \
1541         -DTGTDIR='"$(abs_builddir)"' \
1542         $(NULL)
1543 DragDropTestRunner_LDADD = \
1544         $(top_builddir)/testsuite/libtestsuite.la \
1545         $(AM_LDFLAGS) \
1546         $(NULL)
1547 DragDropTestRunner_DEPENDENCIES = \
1548         $(top_builddir)/testsuite/libtestsuite.la \
1549         DragDropTest.swf        \
1550         $(NULL)
1553 static_vs_dynamic1_SOURCES = \
1554         static_vs_dynamic1.c \
1555         $(NULL)
1557 static_vs_dynamic1_LDADD = libgnashmingutils.la
1559 static_vs_dynamic1.swf: static_vs_dynamic1
1560         ./static_vs_dynamic1 $(srcdir)/../media
1562 static_vs_dynamic1_testrunner: $(srcdir)/../generic-testrunner.sh static_vs_dynamic1.swf
1563         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) static_vs_dynamic1.swf > $@
1564         chmod 755 $@
1566 static_vs_dynamic2_SOURCES = \
1567         static_vs_dynamic2.c \
1568         $(NULL)
1570 static_vs_dynamic2_LDADD = libgnashmingutils.la
1572 static_vs_dynamic2.swf: static_vs_dynamic2
1573         ./static_vs_dynamic2 $(srcdir)/../media
1575 static_vs_dynamic2_testrunner: $(srcdir)/../generic-testrunner.sh static_vs_dynamic2.swf
1576         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) static_vs_dynamic2.swf > $@
1577         chmod 755 $@
1580 getTimer_test_SOURCES = \
1581         getTimer_test.c \
1582         $(NULL)
1584 getTimer_test_LDADD = libgnashmingutils.la
1586 getTimer_test.swf: getTimer_test
1587         ./getTimer_test $(srcdir)/../media
1589 getTimer_testrunner: $(srcdir)/../generic-testrunner.sh getTimer_test.swf
1590         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) getTimer_test.swf > $@
1591         chmod 755 $@
1593 NetStream_SquareTest_SOURCES = \
1594         NetStream-SquareTest.c \
1595         $(NULL)
1597 NetStream_SquareTest_LDADD = libgnashmingutils.la
1599 NetStream-SquareTest.swf: NetStream-SquareTest
1600         ./NetStream-SquareTest $(abs_mediadir)
1602 NetStream_SquareTestRunner_SOURCES = \
1603         NetStream-SquareTestRunner.cpp \
1604         $(NULL)
1606 NetStream_SquareTestRunner_CXXFLAGS = \
1607         -DSRCDIR='"$(srcdir)"' \
1608         -DTGTDIR='"$(abs_builddir)"' \
1609         -DMEDIADIR='"$(abs_mediadir)"' \
1610         $(NULL)
1612 NetStream_SquareTestRunner_LDADD = \
1613         $(top_builddir)/testsuite/libtestsuite.la \
1614         $(AM_LDFLAGS) \
1615         $(NULL)
1617 NetStream_SquareTestRunner_DEPENDENCIES = \
1618         $(top_builddir)/testsuite/libtestsuite.la \
1619         NetStream-SquareTest.swf        \
1620         $(NULL)
1622 Video_EmbedSquareTest_SOURCES = \
1623         Video-EmbedSquareTest.c \
1624         $(NULL)
1626 Video_EmbedSquareTest_LDADD = libgnashmingutils.la
1628 Video-EmbedSquareTest.swf: Video-EmbedSquareTest $(srcdir)/../media/square.flv
1629         ./Video-EmbedSquareTest $(srcdir)/../media
1631 Video_EmbedSquareTestRunner_SOURCES = \
1632         Video-EmbedSquareTestRunner.cpp \
1633         $(NULL)
1635 Video_EmbedSquareTestRunner_CXXFLAGS = \
1636         -DSRCDIR='"$(srcdir)"' \
1637         -DTGTDIR='"$(abs_builddir)"' \
1638         $(NULL)
1640 Video_EmbedSquareTestRunner_LDADD = \
1641         $(top_builddir)/testsuite/libtestsuite.la \
1642         $(AM_LDFLAGS) \
1643         $(NULL)
1645 Video_EmbedSquareTestRunner_DEPENDENCIES = \
1646         $(top_builddir)/testsuite/libtestsuite.la \
1647         Video-EmbedSquareTest.swf       \
1648         $(NULL)
1650 instanceNameTest_SOURCES =      \
1651         instanceNameTest.c      \
1652         $(NULL)
1653 instanceNameTest_LDADD = libgnashmingutils.la
1655 instanceNameTest.swf: instanceNameTest
1656         ./instanceNameTest $(abs_mediadir)
1658 instanceNameTestRunner: $(srcdir)/../generic-testrunner.sh instanceNameTest.swf
1659         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) instanceNameTest.swf > $@
1660         chmod 755 $@
1662 Dejagnu_SOURCES =       \
1663         Dejagnu.c       \
1664         $(NULL)
1665 Dejagnu_LDADD = libgnashmingutils.la
1667 Dejagnu.swf: Dejagnu
1668         ./Dejagnu $(abs_mediadir)
1670 clean-local: 
1671         -rm *.swf media *.pp *unner
1673 TEST_DRIVERS = ../simple.exp
1674 TEST_CASES = \
1675         GradientFillTestRunner \
1676         BeginBitmapFillRunner \
1677         BitmapDataTestRunner \
1678         BitmapDataDrawRunner \
1679         DeviceFontTestRunner \
1680         EmbeddedFontTestRunner \
1681         DefineEditTextVariableNameTest-Runner \
1682         DefineEditTextVariableNameTest2-Runner \
1683         DefineTextTest-Runner \
1684         DefineEditTextTest-Runner \
1685         RollOverOutTest-Runner \
1686         SpriteButtonEventsTest-Runner \
1687         ResolveEventsTest-Runner \
1688         timeline_var_test-Runner \
1689         root_stop_testrunner \
1690         place_object_testrunner \
1691         place_object_test2runner \
1692         move_object_testrunner \
1693         place_and_remove_object_testrunner \
1694         place_and_remove_object_insane_testrunner \
1695         unload_movieclip_test1runner \
1696         attachMovieTestRunner \
1697         attachMovieLoopingTestRunner \
1698         goto_frame_testrunner \
1699         consecutive_goto_frame_testrunner \
1700         multi_doactions_and_goto_frame_testrunner \
1701         registerClassTestRunner \
1702         XMLSocketTester \
1703         LCTestRunner \
1704         DrawingApiTestRunner \
1705         TextSnapshotTest-Runner \
1706         reverse_execute_PlaceObject2_test1runner \
1707         reverse_execute_PlaceObject2_test2runner \
1708         DepthLimitsTestrunner \
1709         matrix_testrunner \
1710         frame_label_testrunner \
1711         path_format_testrunner \
1712         callFunction_testrunner \
1713         duplicate_movie_clip_testrunner \
1714         duplicate_movie_clip_test2runner \
1715         event_handler_scope_testrunner \
1716         masks_testrunner \
1717         masks_test2runner \
1718         key_event_testrunner \
1719         static_vs_dynamic1_testrunner \
1720         static_vs_dynamic2_testrunner \
1721         getTimer_testrunner \
1722         Video-EmbedSquareTestRunner \
1723         NetStream-SquareTestRunner \
1724         shape_testrunner \
1725         morph_test1runner \
1726         runtime_vm_stack_testrunner \
1727         instanceNameTestRunner \
1728         $(NULL)
1730 if MING_VERSION_0_4_3
1731 TEST_CASES += \
1732     EmbeddedSoundTest-Runner \
1733         eventSoundTest1-Runner \
1734     $(NULL)
1735 endif
1737 if MING_VERSION_0_4
1738 TEST_CASES += \
1739         opcode_guard_testrunner \
1740         get_frame_number_testrunner
1741 endif
1743 if MAKESWF_SUPPORTS_PREBUILT_CLIPS
1744 TEST_CASES += VarAndCharClashTest-Runner \
1745         PrototypeEventListenersTestRunner \
1746         DragDropTestRunner   \
1747         FlashVarsTest-Runner \
1748         SharedObjectTestRunner \
1749         intervalTestRunner \
1750         gotoFrame2Test-Runner \
1751         attachImported-Runner \
1752         attachExtImported-Runner
1753 endif
1755 if MAKESWF_SUPPORTS_PREBUILT_CLIPS
1756 if ENABLE_HTTP_TESTSUITE
1757 TEST_CASES += remotingTestRunner
1758 endif
1759 if ENABLE_RED5_TESTING
1760 TEST_CASES += red5test-runner
1761 endif
1762 if ENABLE_RTMPY_TESTING
1763 TEST_CASES += rtmpytest-runner
1764 endif
1765 endif
1767 if MING_SUPPORTS_INIT_ACTIONS
1768 TEST_CASES += \
1769         registerClassTest2runner \
1770         init_action_testrunner \
1771         InitActionTest2Runner \
1772         RegisterClassTest3Runner \
1773         RegisterClassTest4Runner \
1774         $(NULL)
1775 endif
1777 if MING_SUPPORTS_REPLACE_TAG
1778 TEST_CASES += \
1779         PlaceObject2TestRunner \
1780         replace_shapes1test_runner \
1781         replace_sprites1test_runner \
1782         replace_buttons1test_runner \
1783         $(NULL)
1784 endif
1786 if MING_SUPPORTS_SWFBUTTON_SET_DEPTH
1787 TEST_CASES += \
1788         ButtonPropertiesTestRunner \
1789         ButtonEventsTest-Runner \
1790         KeyEventOrderRunner \
1791         $(NULL)
1792 endif
1794 TEST_ENV = GNASH_GC_TRIGGER_THRESHOLD=0
1795 TEST_ENV += GNASHRC=../gnashrc
1796 TEST_ENV += GST_INSTALL_PLUGINS_HELPER=$(top_srcdir)/testsuite/gst_install_plugins_helper.sh
1799 check-DEJAGNU: site-update $(check_PROGRAMS)
1800         runtest=$(RUNTEST); \
1801         if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
1802             $(TEST_ENV) $$runtest $(RUNTESTFLAGS) $(TEST_DRIVERS); true; \
1803         else \
1804           echo "WARNING: could not find \`runtest'" 1>&2; \
1805           for i in "$(TEST_CASES)"; do \
1806             $(TEST_ENV) $(SHELL) $$i; \
1807           done; \
1808         fi
1810 site-update: site.exp
1811         @rm -fr site.exp.bak
1812         @cp site.exp site.exp.bak
1813         @sed -e '/testcases/d' site.exp.bak > site.exp
1814         @echo "# This is a list of the pre-compiled testcases" >> site.exp
1815         @echo "set testcases \"$(TEST_CASES)\"" >> site.exp