1 ## Process this file with automake to generate Makefile.in
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)
31 SUBDIRS = loop loading displaylist_depths action_order
40 PrototypeEventListeners.as \
43 VarAndCharClashTest.as \
45 attachExtImported.as \
59 SharedObjectTestRunner.sh \
60 SharedObjectTest.sol/sol1.sol \
61 SharedObjectTest.sol/README \
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 \
78 -DMING_VERSION_CODE=$(MING_VERSION_CODE) \
85 $(top_builddir)/libbase/libgnashbase.la \
86 $(top_builddir)/librender/libgnashrender.la \
90 AM_LDFLAGS += $(top_builddir)/libltdl/libltdlc.la
93 AM_LDFLAGS += $(top_builddir)/libbase/libltdlc.la
98 ResolveEventsTest-Runner \
99 SpriteButtonEventsTest \
100 SpriteButtonEventsTest-Runner \
102 DefineTextTest-Runner \
107 DefineEditTextTest-Runner \
108 DefineEditTextVariableNameTest \
109 DefineEditTextVariableNameTest-Runner \
110 DefineEditTextVariableNameTest2 \
115 RollOverOutTest-Runner \
120 root_stop_testrunner \
124 place_and_remove_object_test \
125 place_and_remove_object_insane_test \
126 unload_movieclip_test1 \
132 attachMovieTestRunner \
133 attachMovieLoopingTest \
134 attachMovieLoopingTestRunner \
136 registerClassTestRunner \
138 consecutive_goto_frame_test \
140 multi_doactions_and_goto_frame_test \
141 reverse_execute_PlaceObject2_test1 \
142 reverse_execute_PlaceObject2_test2 \
143 DrawingApiTestRunner \
147 duplicate_movie_clip_test \
148 duplicate_movie_clip_test2 \
149 event_handler_scope_test \
152 key_event_testrunner \
156 Video-EmbedSquareTest \
157 Video-EmbedSquareTestRunner \
158 NetStream-SquareTest \
159 NetStream-SquareTestRunner \
163 runtime_vm_stack_test \
164 new_child_in_unload_test \
167 BeginBitmapFillRunner \
169 BitmapDataTestRunner \
173 if MING_VERSION_0_4_3
176 EmbeddedSoundTest-Runner \
178 eventSoundTest1-Runner \
179 BitmapSmoothingTest \
186 get_frame_number_test
189 if MAKESWF_SUPPORTS_PREBUILT_CLIPS
193 PrototypeEventListenersTestRunner \
197 if MING_SUPPORTS_INIT_ACTIONS
207 if MING_SUPPORTS_REPLACE_TAG
209 replace_shapes1test \
210 replace_sprites1test \
211 replace_buttons1test \
215 if MING_SUPPORTS_STREAMING_SOUND
217 streamingSoundTest1 \
218 streamingSoundTest1-Runner
221 if MING_SUPPORTS_SWFBUTTON_SET_DEPTH
224 KeyEventOrderRunner \
225 ButtonPropertiesTest \
227 ButtonPropertiesTestRunner \
228 ButtonEventsTest-Runner \
233 GradientFillTestRunner \
234 BitmapDataDrawRunner \
235 DeviceFontTestRunner \
236 EmbeddedFontTestRunner \
237 TextSnapshotTest-Runner \
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 \
260 static_vs_dynamic1_testrunner \
261 static_vs_dynamic2_testrunner \
262 getTimer_testrunner \
263 DepthLimitsTestrunner \
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 \
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
283 if MAKESWF_SUPPORTS_PREBUILT_CLIPS
284 if ENABLE_HTTP_TESTSUITE
285 check_SCRIPTS += remotingTestRunner
287 if ENABLE_RED5_TESTING
288 check_SCRIPTS += red5test-runner
290 if ENABLE_RTMPY_TESTING
291 check_SCRIPTS += rtmpytest-runner
297 opcode_guard_testrunner \
298 get_frame_number_testrunner \
302 if MING_SUPPORTS_INIT_ACTIONS
304 InitActionTest2Runner \
305 RegisterClassTest4Runner \
306 RegisterClassTest3Runner \
307 registerClassTest2runner \
311 if MING_SUPPORTS_REPLACE_TAG
313 PlaceObject2TestRunner \
317 replace_shapes1test_runner \
318 replace_sprites1test_runner \
319 replace_buttons1test_runner \
325 # DefineEditTextVariableNameTest-Runner
327 check_LTLIBRARIES = libgnashmingutils.la
328 libgnashmingutils_la_SOURCES = \
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 \
346 DefineTextTest_Runner_CXXFLAGS = \
347 -DTGTDIR='"$(abs_builddir)"' \
349 DefineTextTest_Runner_LDADD = \
350 $(top_builddir)/testsuite/libtestsuite.la \
353 DefineTextTest_Runner_DEPENDENCIES = \
354 $(top_builddir)/testsuite/libtestsuite.la \
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 > $@
368 DeviceFontTestRunner: $(srcdir)/../generic-testrunner.sh DeviceFontTest.swf
369 sh $(srcdir)/../generic-testrunner.sh $(top_builddir) DeviceFontTest.swf > $@
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 > $@
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 \
392 DefineEditTextTest_Runner_CXXFLAGS = \
393 -DTGTDIR='"$(abs_builddir)"' \
395 DefineEditTextTest_Runner_LDADD = \
396 $(top_builddir)/testsuite/libtestsuite.la \
399 DefineEditTextTest_Runner_DEPENDENCIES = \
400 $(top_builddir)/testsuite/libtestsuite.la \
401 DefineEditTextTest.swf \
404 spritehier_SOURCES = spritehier.c
405 spritehier_LDADD = $(MING_LIBS)
407 opcode_guard_test_SOURCES = \
408 opcode_guard_test.c \
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 > $@
419 runtime_vm_stack_test_SOURCES = \
420 runtime_vm_stack_test.c \
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 > $@
431 new_child_in_unload_test_SOURCES = \
432 new_child_in_unload_test.c \
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 > $@
443 PlaceObject2Test_SOURCES = \
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 > $@
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 \
465 eventSoundTest1_Runner_SOURCES = \
466 eventSoundTest1-Runner.cpp \
468 eventSoundTest1_Runner_CXXFLAGS = \
469 -DTGTDIR='"$(abs_builddir)"' \
471 eventSoundTest1_Runner_LDADD = \
472 $(top_builddir)/testsuite/libtestsuite.la \
475 eventSoundTest1_Runner_DEPENDENCIES = \
476 $(top_builddir)/testsuite/libtestsuite.la \
477 eventSoundTest1.swf \
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 \
489 streamingSoundTest1_Runner_CXXFLAGS = \
490 -DTGTDIR='"$(abs_builddir)"' \
492 streamingSoundTest1_Runner_LDADD = \
493 $(top_builddir)/testsuite/libtestsuite.la \
496 streamingSoundTest1_Runner_DEPENDENCIES = \
497 $(top_builddir)/testsuite/libtestsuite.la \
498 streamingSoundTest1.swf \
502 DefineEditTextVariableNameTest_SOURCES = \
503 DefineEditTextVariableNameTest.c \
505 DefineEditTextVariableNameTest_LDADD = libgnashmingutils.la
507 DefineEditTextVariableNameTest.swf: DefineEditTextVariableNameTest
508 ./DefineEditTextVariableNameTest $(abs_mediadir)
510 DefineEditTextVariableNameTest_Runner_SOURCES = \
511 DefineEditTextVariableNameTest-Runner.cpp \
513 DefineEditTextVariableNameTest_Runner_LDADD = \
514 $(top_builddir)/testsuite/libtestsuite.la \
517 DefineEditTextVariableNameTest_Runner_DEPENDENCIES = \
518 $(top_builddir)/testsuite/libtestsuite.la \
519 DefineEditTextVariableNameTest.swf \
523 DefineEditTextVariableNameTest2_SOURCES = \
524 DefineEditTextVariableNameTest2.c \
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 > $@
535 timeline_var_test_SOURCES = \
536 timeline_var_test.c \
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 > $@
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 \
556 root_stop_testrunner_LDADD = \
557 $(top_builddir)/testsuite/libtestsuite.la \
560 root_stop_testrunner_CXXFLAGS = \
561 -DSRCDIR='"$(srcdir)"' \
562 -DTGTDIR='"$(abs_builddir)"'
563 root_stop_testrunner_DEPENDENCIES = \
564 $(top_builddir)/testsuite/libtestsuite.la \
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 > $@
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 \
587 morph_test1runner_LDADD = \
588 $(top_builddir)/testsuite/libtestsuite.la \
591 morph_test1runner_CXXFLAGS = \
592 -DSRCDIR='"$(srcdir)"' \
593 -DTGTDIR='"$(abs_builddir)"' \
595 morph_test1runner_DEPENDENCIES = \
597 $(top_builddir)/testsuite/libtestsuite.la \
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 \
609 key_event_testrunner_LDADD = \
610 $(top_builddir)/testsuite/libtestsuite.la \
613 key_event_testrunner_CXXFLAGS = \
614 -DSRCDIR='"$(srcdir)"' \
615 -DTGTDIR='"$(abs_builddir)"' \
617 key_event_testrunner_DEPENDENCIES = \
619 $(top_builddir)/testsuite/libtestsuite.la \
622 KeyEventOrder_SOURCES = KeyEventOrder.c
623 KeyEventOrder_LDADD = libgnashmingutils.la
625 KeyEventOrder.swf: KeyEventOrder
626 ./KeyEventOrder $(abs_mediadir)
628 KeyEventOrderRunner_SOURCES = \
629 KeyEventOrderRunner.cpp \
631 KeyEventOrderRunner_LDADD = \
632 $(top_builddir)/testsuite/libtestsuite.la \
635 KeyEventOrderRunner_CXXFLAGS = \
636 -DSRCDIR='"$(srcdir)"' \
637 -DTGTDIR='"$(abs_builddir)"' \
639 KeyEventOrderRunner_DEPENDENCIES = \
641 $(top_builddir)/testsuite/libtestsuite.la \
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 > $@
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 > $@
665 move_object_test_SOURCES = \
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 > $@
677 place_and_remove_object_test_SOURCES = \
678 place_and_remove_object_test.c \
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 > $@
689 place_and_remove_object_insane_test_SOURCES = \
690 place_and_remove_object_insane_test.c \
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 > $@
701 unload_movieclip_test1_SOURCES = \
702 unload_movieclip_test1.c \
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 > $@
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 > $@
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 \
733 replace_shapes1test_runner_CXXFLAGS = \
734 -DTGTDIR='"$(abs_builddir)"' \
736 replace_shapes1test_runner_LDADD = \
737 $(top_builddir)/testsuite/libtestsuite.la \
740 replace_shapes1test_runner_DEPENDENCIES = \
741 $(top_builddir)/testsuite/libtestsuite.la \
742 replace_shapes1test.swf \
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 \
754 replace_sprites1test_runner_CXXFLAGS = \
755 -DTGTDIR='"$(abs_builddir)"' \
757 replace_sprites1test_runner_LDADD = \
758 $(top_builddir)/testsuite/libtestsuite.la \
761 replace_sprites1test_runner_DEPENDENCIES = \
762 $(top_builddir)/testsuite/libtestsuite.la \
763 replace_sprites1test.swf \
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 \
775 replace_buttons1test_runner_CXXFLAGS = \
776 -DTGTDIR='"$(abs_builddir)"' \
778 replace_buttons1test_runner_LDADD = \
779 $(top_builddir)/testsuite/libtestsuite.la \
782 replace_buttons1test_runner_DEPENDENCIES = \
783 $(top_builddir)/testsuite/libtestsuite.la \
784 replace_buttons1test.swf \
788 masks_test_SOURCES = \
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 \
799 masks_testrunner_CXXFLAGS = \
800 -DTGTDIR='"$(abs_builddir)"' \
802 masks_testrunner_LDADD = \
803 $(top_builddir)/testsuite/libtestsuite.la \
806 masks_testrunner_DEPENDENCIES = \
807 $(top_builddir)/testsuite/libtestsuite.la \
812 masks_test2_SOURCES = \
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 \
823 masks_test2runner_CXXFLAGS = \
824 -DTGTDIR='"$(abs_builddir)"' \
826 masks_test2runner_LDADD = \
827 $(top_builddir)/testsuite/libtestsuite.la \
830 masks_test2runner_DEPENDENCIES = \
831 $(top_builddir)/testsuite/libtestsuite.la \
835 matrix_test_SOURCES = \
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 > $@
847 get_frame_number_test_SOURCES = \
848 get_frame_number_test.c \
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 > $@
859 frame_label_test_SOURCES = \
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 > $@
871 path_format_test_SOURCES = \
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 > $@
883 callFunction_test_SOURCES = \
884 callFunction_test.c \
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 > $@
895 duplicate_movie_clip_test_SOURCES = \
896 duplicate_movie_clip_test.c \
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 > $@
908 duplicate_movie_clip_test2_SOURCES = \
909 duplicate_movie_clip_test2.c \
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 > $@
921 event_handler_scope_test_SOURCES = \
922 event_handler_scope_test.c \
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 > $@
933 attachMovieTest_SOURCES = \
936 attachMovieTest_LDADD = libgnashmingutils.la
938 attachMovieTest.swf: attachMovieTest
939 ./attachMovieTest $(abs_mediadir)
941 attachMovieTestRunner_SOURCES = \
942 attachMovieTestRunner.cpp \
944 attachMovieTestRunner_LDADD = \
945 $(top_builddir)/testsuite/libtestsuite.la \
948 attachMovieTestRunner_CXXFLAGS = \
949 -DSRCDIR='"$(srcdir)"' \
950 -DTGTDIR='"$(abs_builddir)"' \
952 attachMovieTestRunner_DEPENDENCIES = \
953 attachMovieTest.swf \
954 $(top_builddir)/testsuite/libtestsuite.la \
957 attachMovieLoopingTest_SOURCES = \
958 attachMovieLoopingTest.c \
960 attachMovieLoopingTest_LDADD = libgnashmingutils.la
962 attachMovieLoopingTest.swf: attachMovieLoopingTest
963 ./attachMovieLoopingTest $(abs_mediadir)
965 attachMovieLoopingTestRunner_SOURCES = \
966 attachMovieLoopingTestRunner.cpp \
968 attachMovieLoopingTestRunner_LDADD = \
969 $(top_builddir)/testsuite/libtestsuite.la \
972 attachMovieLoopingTestRunner_CXXFLAGS = \
973 -DSRCDIR='"$(srcdir)"' \
974 -DTGTDIR='"$(abs_builddir)"' \
976 attachMovieLoopingTestRunner_DEPENDENCIES = \
977 attachMovieLoopingTest.swf \
978 $(top_builddir)/testsuite/libtestsuite.la \
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 > $@
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 > $@
997 goto_frame_test_SOURCES = \
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 > $@
1009 consecutive_goto_frame_test_SOURCES = \
1010 consecutive_goto_frame_test.c \
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 > $@
1021 multi_doactions_and_goto_frame_test_SOURCES = \
1022 multi_doactions_and_goto_frame_test.c \
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 > $@
1033 reverse_execute_PlaceObject2_test1_SOURCES = \
1034 reverse_execute_PlaceObject2_test1.c \
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 > $@
1045 reverse_execute_PlaceObject2_test2_SOURCES = \
1046 reverse_execute_PlaceObject2_test2.c \
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 > $@
1057 BitmapDataTest_SOURCES = \
1061 BitmapDataTest_CFLAGS = \
1062 -DMEDIADIR='"$(abs_mediadir)"' \
1065 BitmapDataTest_LDADD = libgnashmingutils.la
1067 BitmapDataTest.swf: BitmapDataTest
1068 ./BitmapDataTest $(abs_mediadir)
1070 BitmapDataTestRunner_SOURCES = \
1071 BitmapDataTestRunner.cpp \
1074 BitmapDataTestRunner_CXXFLAGS = \
1075 -DSRCDIR='"$(srcdir)"' \
1076 -DTGTDIR='"$(abs_builddir)"' \
1079 BitmapDataTestRunner_LDADD = \
1080 $(top_builddir)/testsuite/libtestsuite.la \
1084 BitmapDataTestRunner_DEPENDENCIES = \
1085 $(top_builddir)/testsuite/libtestsuite.la \
1086 BitmapDataTest.swf \
1089 BitmapDataDraw_SOURCES = \
1093 BitmapDataDraw_CFLAGS = \
1094 -DMEDIADIR='"$(abs_mediadir)"' \
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 > $@
1106 BeginBitmapFill_SOURCES = \
1110 BeginBitmapFill_CFLAGS = \
1111 -DMEDIADIR='"$(abs_mediadir)"' \
1114 BeginBitmapFill_LDADD = libgnashmingutils.la
1116 BeginBitmapFill.swf: BeginBitmapFill
1117 ./BeginBitmapFill $(abs_mediadir)
1119 BeginBitmapFillRunner_SOURCES = \
1120 BeginBitmapFillRunner.cpp \
1123 BeginBitmapFillRunner_CXXFLAGS = \
1124 -DSRCDIR='"$(srcdir)"' \
1125 -DTGTDIR='"$(abs_builddir)"' \
1128 BeginBitmapFillRunner_LDADD = \
1129 $(top_builddir)/testsuite/libtestsuite.la \
1133 BeginBitmapFillRunner_DEPENDENCIES = \
1134 $(top_builddir)/testsuite/libtestsuite.la \
1135 BeginBitmapFill.swf \
1138 EmbeddedSoundTest_SOURCES = \
1139 EmbeddedSoundTest.c \
1142 EmbeddedSoundTest_CFLAGS = \
1143 -DMEDIADIR='"$(abs_mediadir)"' \
1146 EmbeddedSoundTest_LDADD = libgnashmingutils.la
1148 EmbeddedSoundTest.swf: EmbeddedSoundTest
1149 ./EmbeddedSoundTest $(abs_mediadir)
1151 EmbeddedSoundTest_Runner_SOURCES = \
1152 EmbeddedSoundTest-Runner.cpp \
1155 EmbeddedSoundTest_Runner_CXXFLAGS = \
1156 -DSRCDIR='"$(srcdir)"' \
1157 -DTGTDIR='"$(abs_builddir)"' \
1160 EmbeddedSoundTest_Runner_LDADD = \
1161 $(top_builddir)/testsuite/libtestsuite.la \
1165 EmbeddedSoundTest_Runner_DEPENDENCIES = \
1166 $(top_builddir)/testsuite/libtestsuite.la \
1167 EmbeddedSoundTest.swf \
1170 BitmapSmoothingTest_SOURCES = \
1171 BitmapSmoothingTest.c \
1174 BitmapSmoothingTest_CFLAGS = \
1175 -DMEDIADIR='"$(abs_mediadir)"' \
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 \
1189 registerClassTest_LDADD = libgnashmingutils.la
1191 registerClassTest.swf: registerClassTest
1192 ./registerClassTest $(abs_mediadir)
1194 registerClassTestRunner_SOURCES = \
1195 registerClassTestRunner.cpp \
1197 registerClassTestRunner_LDADD = \
1198 $(top_builddir)/testsuite/libtestsuite.la \
1201 registerClassTestRunner_CXXFLAGS = \
1202 -DSRCDIR='"$(srcdir)"' \
1203 -DTGTDIR='"$(abs_builddir)"' \
1205 registerClassTestRunner_DEPENDENCIES = \
1206 registerClassTest.swf \
1207 $(top_builddir)/testsuite/libtestsuite.la \
1210 registerClassTest2_SOURCES = \
1211 registerClassTest2.c \
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 > $@
1222 spritehier.swf: spritehier
1225 RemoveObject2Test.swf: RemoveObject2Test
1228 RollOverOutTest_SOURCES = \
1231 RollOverOutTest_LDADD = libgnashmingutils.la
1232 RollOverOutTest.swf: RollOverOutTest
1233 ./RollOverOutTest $(abs_mediadir)
1234 RollOverOutTest_Runner_SOURCES = \
1235 RollOverOutTest-Runner.cpp \
1237 RollOverOutTest_Runner_LDADD = \
1238 $(top_builddir)/testsuite/libtestsuite.la \
1241 RollOverOutTest_Runner_CXXFLAGS = \
1242 -DSRCDIR='"$(srcdir)"' \
1243 -DTGTDIR='"$(abs_builddir)"'
1244 RollOverOutTest_Runner_DEPENDENCIES = \
1245 $(top_builddir)/testsuite/libtestsuite.la \
1246 RollOverOutTest.swf \
1249 ButtonEventsTest_SOURCES = \
1250 ButtonEventsTest.c \
1252 ButtonEventsTest_LDADD = libgnashmingutils.la
1253 ButtonEventsTest.swf: ButtonEventsTest
1254 ./ButtonEventsTest $(abs_mediadir)
1255 ButtonEventsTest_Runner_SOURCES = \
1256 ButtonEventsTest-Runner.cpp \
1258 ButtonEventsTest_Runner_LDADD = \
1259 $(top_builddir)/testsuite/libtestsuite.la \
1262 ButtonEventsTest_Runner_DEPENDENCIES = \
1263 $(top_builddir)/testsuite/libtestsuite.la \
1264 ButtonEventsTest.swf \
1266 ButtonEventsTest_Runner_CXXFLAGS = \
1267 -DTGTDIR='"$(abs_builddir)"' \
1270 SpriteButtonEventsTest_SOURCES = \
1271 SpriteButtonEventsTest.c \
1273 SpriteButtonEventsTest_LDADD = libgnashmingutils.la
1274 SpriteButtonEventsTest.swf: SpriteButtonEventsTest
1275 ./SpriteButtonEventsTest $(abs_mediadir)
1276 SpriteButtonEventsTest_Runner_SOURCES = \
1277 SpriteButtonEventsTest-Runner.cpp \
1279 SpriteButtonEventsTest_Runner_LDADD = \
1280 $(top_builddir)/testsuite/libtestsuite.la \
1283 SpriteButtonEventsTest_Runner_DEPENDENCIES = \
1284 $(top_builddir)/testsuite/libtestsuite.la \
1285 SpriteButtonEventsTest.swf \
1287 SpriteButtonEventsTest_Runner_CXXFLAGS = \
1288 -DTGTDIR='"$(abs_builddir)"' \
1291 ResolveEventsTest_SOURCES = \
1292 ResolveEventsTest.c \
1294 ResolveEventsTest_LDADD = libgnashmingutils.la
1295 ResolveEventsTest.swf: ResolveEventsTest
1296 ./ResolveEventsTest $(abs_mediadir)
1297 ResolveEventsTest_Runner_SOURCES = \
1298 ResolveEventsTest-Runner.cpp \
1300 ResolveEventsTest_Runner_LDADD = \
1301 $(top_builddir)/testsuite/libtestsuite.la \
1304 ResolveEventsTest_Runner_DEPENDENCIES = \
1305 $(top_builddir)/testsuite/libtestsuite.la \
1306 ResolveEventsTest.swf \
1308 ResolveEventsTest_Runner_CXXFLAGS = \
1309 -DTGTDIR='"$(abs_builddir)"' \
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 > $@
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'" > $@
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 > $@
1334 StageConfigTest.swf: StageConfigTest.as
1335 $(MAKESWF) -o $@ -s 512x512 $(srcdir)/StageConfigTest.as
1337 ButtonPropertiesTest_SOURCES = \
1338 ButtonPropertiesTest.c \
1340 ButtonPropertiesTest_LDADD = libgnashmingutils.la
1341 ButtonPropertiesTest.swf: ButtonPropertiesTest
1342 ./ButtonPropertiesTest $(abs_mediadir)
1343 ButtonPropertiesTestRunner_SOURCES = \
1344 ButtonPropertiesTestRunner.cpp \
1346 ButtonPropertiesTestRunner_LDADD = \
1347 $(top_builddir)/testsuite/libtestsuite.la \
1350 ButtonPropertiesTestRunner_DEPENDENCIES = \
1351 $(top_builddir)/testsuite/libtestsuite.la \
1352 ButtonPropertiesTest.swf \
1354 ButtonPropertiesTestRunner_CXXFLAGS = \
1355 -DTGTDIR='"$(abs_builddir)"' \
1358 InitActionTest2_SOURCES = \
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 > $@
1370 RegisterClassTest3_SOURCES = \
1371 RegisterClassTest3.c \
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 > $@
1382 RegisterClassTest4_SOURCES = \
1383 RegisterClassTest4.c \
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 > $@
1394 init_action_test_SOURCES = \
1395 init_action_test.c \
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 > $@
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 \
1411 intervalTestRunner_CXXFLAGS = \
1412 -DSRCDIR='"$(srcdir)"' \
1413 -DTGTDIR='"$(abs_builddir)"' \
1415 intervalTestRunner_LDADD = \
1416 $(top_builddir)/testsuite/libtestsuite.la \
1419 intervalTestRunner_DEPENDENCIES = \
1420 $(top_builddir)/testsuite/libtestsuite.la \
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 > $@
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 > $@
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 > $@
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 > $@
1457 DrawingApiTest.swf: DrawingApiTest.as
1458 $(MAKESWF) -r 1 -o $@ $(srcdir)/empty.as $(srcdir)/DrawingApiTest.as
1460 DrawingApiTestRunner_SOURCES = \
1461 DrawingApiTestRunner.cpp \
1463 DrawingApiTestRunner_CXXFLAGS = \
1464 -DSRCDIR='"$(srcdir)"' \
1465 -DTGTDIR='"$(abs_builddir)"' \
1467 DrawingApiTestRunner_LDADD = \
1468 $(top_builddir)/testsuite/libtestsuite.la \
1471 DrawingApiTestRunner_DEPENDENCIES = \
1472 $(top_builddir)/testsuite/libtestsuite.la \
1473 DrawingApiTest.swf \
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 \
1482 PrototypeEventListenersTestRunner_CXXFLAGS = \
1483 -DSRCDIR='"$(srcdir)"' \
1484 -DTGTDIR='"$(abs_builddir)"' \
1486 PrototypeEventListenersTestRunner_LDADD = \
1487 $(top_builddir)/testsuite/libtestsuite.la \
1490 PrototypeEventListenersTestRunner_DEPENDENCIES = \
1491 $(top_builddir)/testsuite/libtestsuite.la \
1492 PrototypeEventListeners.swf \
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 > $@
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 > $@
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 > $@
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 > $@
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 \
1539 DragDropTestRunner_CXXFLAGS = \
1540 -DSRCDIR='"$(srcdir)"' \
1541 -DTGTDIR='"$(abs_builddir)"' \
1543 DragDropTestRunner_LDADD = \
1544 $(top_builddir)/testsuite/libtestsuite.la \
1547 DragDropTestRunner_DEPENDENCIES = \
1548 $(top_builddir)/testsuite/libtestsuite.la \
1553 static_vs_dynamic1_SOURCES = \
1554 static_vs_dynamic1.c \
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 > $@
1566 static_vs_dynamic2_SOURCES = \
1567 static_vs_dynamic2.c \
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 > $@
1580 getTimer_test_SOURCES = \
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 > $@
1593 NetStream_SquareTest_SOURCES = \
1594 NetStream-SquareTest.c \
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 \
1606 NetStream_SquareTestRunner_CXXFLAGS = \
1607 -DSRCDIR='"$(srcdir)"' \
1608 -DTGTDIR='"$(abs_builddir)"' \
1609 -DMEDIADIR='"$(abs_mediadir)"' \
1612 NetStream_SquareTestRunner_LDADD = \
1613 $(top_builddir)/testsuite/libtestsuite.la \
1617 NetStream_SquareTestRunner_DEPENDENCIES = \
1618 $(top_builddir)/testsuite/libtestsuite.la \
1619 NetStream-SquareTest.swf \
1622 Video_EmbedSquareTest_SOURCES = \
1623 Video-EmbedSquareTest.c \
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 \
1635 Video_EmbedSquareTestRunner_CXXFLAGS = \
1636 -DSRCDIR='"$(srcdir)"' \
1637 -DTGTDIR='"$(abs_builddir)"' \
1640 Video_EmbedSquareTestRunner_LDADD = \
1641 $(top_builddir)/testsuite/libtestsuite.la \
1645 Video_EmbedSquareTestRunner_DEPENDENCIES = \
1646 $(top_builddir)/testsuite/libtestsuite.la \
1647 Video-EmbedSquareTest.swf \
1650 instanceNameTest_SOURCES = \
1651 instanceNameTest.c \
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 > $@
1665 Dejagnu_LDADD = libgnashmingutils.la
1667 Dejagnu.swf: Dejagnu
1668 ./Dejagnu $(abs_mediadir)
1671 -rm *.swf media *.pp *unner
1673 TEST_DRIVERS = ../simple.exp
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 \
1704 DrawingApiTestRunner \
1705 TextSnapshotTest-Runner \
1706 reverse_execute_PlaceObject2_test1runner \
1707 reverse_execute_PlaceObject2_test2runner \
1708 DepthLimitsTestrunner \
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 \
1718 key_event_testrunner \
1719 static_vs_dynamic1_testrunner \
1720 static_vs_dynamic2_testrunner \
1721 getTimer_testrunner \
1722 Video-EmbedSquareTestRunner \
1723 NetStream-SquareTestRunner \
1726 runtime_vm_stack_testrunner \
1727 instanceNameTestRunner \
1730 if MING_VERSION_0_4_3
1732 EmbeddedSoundTest-Runner \
1733 eventSoundTest1-Runner \
1739 opcode_guard_testrunner \
1740 get_frame_number_testrunner
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
1755 if MAKESWF_SUPPORTS_PREBUILT_CLIPS
1756 if ENABLE_HTTP_TESTSUITE
1757 TEST_CASES += remotingTestRunner
1759 if ENABLE_RED5_TESTING
1760 TEST_CASES += red5test-runner
1762 if ENABLE_RTMPY_TESTING
1763 TEST_CASES += rtmpytest-runner
1767 if MING_SUPPORTS_INIT_ACTIONS
1769 registerClassTest2runner \
1770 init_action_testrunner \
1771 InitActionTest2Runner \
1772 RegisterClassTest3Runner \
1773 RegisterClassTest4Runner \
1777 if MING_SUPPORTS_REPLACE_TAG
1779 PlaceObject2TestRunner \
1780 replace_shapes1test_runner \
1781 replace_sprites1test_runner \
1782 replace_buttons1test_runner \
1786 if MING_SUPPORTS_SWFBUTTON_SET_DEPTH
1788 ButtonPropertiesTestRunner \
1789 ButtonEventsTest-Runner \
1790 KeyEventOrderRunner \
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; \
1804 echo "WARNING: could not find \`runtest'" 1>&2; \
1805 for i in "$(TEST_CASES)"; do \
1806 $(TEST_ENV) $(SHELL) $$i; \
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