1 ## Process this file with automake to generate Makefile.in
3 # Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010,
4 # 2011 Free Software Foundation, Inc.
6 # This program is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3 of the License, or
9 # (at your option) any later version.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, write to the Free Software
18 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20 AUTOMAKE_OPTIONS = dejagnu -Wno-portability
22 abs_top_builddir=$(shell cd $(top_builddir); pwd)
23 abs_builddir=$(shell cd $(top_builddir)/testsuite/misc-ming.all; pwd)
24 abs_mediadir = $(shell cd $(srcdir)/../media; pwd)
32 SUBDIRS = loop loading displaylist_depths action_order
41 PrototypeEventListeners.as \
44 VarAndCharClashTest.as \
46 attachExtImported.as \
60 SharedObjectTestRunner.sh \
61 SharedObjectTest.sol/sol1.sol \
62 SharedObjectTest.sol/README \
66 -I$(top_srcdir)/libbase \
67 -I$(top_srcdir)/libmedia \
68 -I$(top_srcdir)/libsound \
69 -I$(top_srcdir)/librender \
70 -I$(top_srcdir)/libcore \
71 -I$(top_srcdir)/libcore/swf \
72 -I$(top_srcdir)/libcore/parser \
73 -I$(top_srcdir)/libcore/vm \
74 -I$(top_srcdir)/libcore/asobj \
75 -I$(top_srcdir)/testsuite \
79 -DMING_VERSION_CODE=$(MING_VERSION_CODE) \
86 $(top_builddir)/libbase/libgnashbase.la \
87 $(top_builddir)/librender/libgnashrender.la \
91 AM_LDFLAGS += $(top_builddir)/libltdl/libltdlc.la
94 AM_LDFLAGS += $(top_builddir)/libbase/libltdlc.la
99 ResolveEventsTest-Runner \
100 SpriteButtonEventsTest \
101 SpriteButtonEventsTest-Runner \
103 DefineTextTest-Runner \
108 DefineEditTextTest-Runner \
109 DefineEditTextVariableNameTest \
110 DefineEditTextVariableNameTest-Runner \
111 DefineEditTextVariableNameTest2 \
116 RollOverOutTest-Runner \
121 root_stop_testrunner \
125 place_and_remove_object_test \
126 place_and_remove_object_insane_test \
127 unload_movieclip_test1 \
133 attachMovieTestRunner \
134 attachMovieLoopingTest \
135 attachMovieLoopingTestRunner \
137 registerClassTestRunner \
139 consecutive_goto_frame_test \
141 multi_doactions_and_goto_frame_test \
142 reverse_execute_PlaceObject2_test1 \
143 reverse_execute_PlaceObject2_test2 \
144 DrawingApiTestRunner \
148 duplicate_movie_clip_test \
149 duplicate_movie_clip_test2 \
150 event_handler_scope_test \
153 key_event_testrunner \
157 Video-EmbedSquareTest \
158 Video-EmbedSquareTestRunner \
159 NetStream-SquareTest \
160 NetStream-SquareTestRunner \
164 runtime_vm_stack_test \
165 new_child_in_unload_test \
168 BeginBitmapFillRunner \
170 BitmapDataTestRunner \
174 if MING_VERSION_0_4_3
177 EmbeddedSoundTest-Runner \
179 eventSoundTest1-Runner \
180 BitmapSmoothingTest \
187 get_frame_number_test
190 if MAKESWF_SUPPORTS_PREBUILT_CLIPS
194 PrototypeEventListenersTestRunner \
198 if MING_SUPPORTS_INIT_ACTIONS
208 if MING_SUPPORTS_REPLACE_TAG
210 replace_shapes1test \
211 replace_sprites1test \
212 replace_buttons1test \
216 if MING_SUPPORTS_STREAMING_SOUND
218 streamingSoundTest1 \
219 streamingSoundTest1-Runner
222 if MING_SUPPORTS_SWFBUTTON_SET_DEPTH
225 KeyEventOrderRunner \
226 ButtonPropertiesTest \
228 ButtonPropertiesTestRunner \
229 ButtonEventsTest-Runner \
234 GradientFillTestRunner \
235 BitmapDataDrawRunner \
236 DeviceFontTestRunner \
237 EmbeddedFontTestRunner \
238 TextSnapshotTest-Runner \
241 timeline_var_test-Runner \
242 place_object_testrunner \
243 place_object_test2runner \
244 move_object_testrunner \
245 place_and_remove_object_testrunner \
246 place_and_remove_object_insane_testrunner \
247 unload_movieclip_test1runner \
248 goto_frame_testrunner \
249 consecutive_goto_frame_testrunner \
250 multi_doactions_and_goto_frame_testrunner \
251 gotoFrame2Test-Runner \
252 reverse_execute_PlaceObject2_test1runner \
253 reverse_execute_PlaceObject2_test2runner \
254 frame_label_testrunner \
255 path_format_testrunner \
256 callFunction_testrunner \
257 duplicate_movie_clip_testrunner \
258 duplicate_movie_clip_test2runner \
259 event_handler_scope_testrunner \
261 static_vs_dynamic1_testrunner \
262 static_vs_dynamic2_testrunner \
263 getTimer_testrunner \
264 DepthLimitsTestrunner \
266 DefineEditTextVariableNameTest-Runner \
267 DefineEditTextVariableNameTest2-Runner \
268 runtime_vm_stack_testrunner \
269 new_child_in_unload_testrunner \
270 instanceNameTestRunner \
271 init_action_testrunner \
272 InitActionTest2Runner \
275 if MAKESWF_SUPPORTS_PREBUILT_CLIPS
276 check_SCRIPTS += VarAndCharClashTest-Runner \
277 gotoFrame2Test-Runner \
278 FlashVarsTest-Runner \
279 attachImported-Runner \
280 attachExtImported-Runner \
281 SharedObjectTestRunner
284 if MAKESWF_SUPPORTS_PREBUILT_CLIPS
285 if ENABLE_HTTP_TESTSUITE
286 check_SCRIPTS += remotingTestRunner
288 if ENABLE_RED5_TESTING
289 check_SCRIPTS += red5test-runner
291 if ENABLE_RTMPY_TESTING
292 check_SCRIPTS += rtmpytest-runner
298 opcode_guard_testrunner \
299 get_frame_number_testrunner \
303 if MING_SUPPORTS_INIT_ACTIONS
305 InitActionTest2Runner \
306 RegisterClassTest4Runner \
307 RegisterClassTest3Runner \
308 registerClassTest2runner \
312 if MING_SUPPORTS_REPLACE_TAG
314 PlaceObject2TestRunner \
318 replace_shapes1test_runner \
319 replace_sprites1test_runner \
320 replace_buttons1test_runner \
326 # DefineEditTextVariableNameTest-Runner
328 check_LTLIBRARIES = libgnashmingutils.la
329 libgnashmingutils_la_SOURCES = \
333 definebitsjpeg2_SOURCES = definebitsjpeg2.c
334 definebitsjpeg2_LDADD = $(MING_LIBS)
335 definebitsjpeg2.swf: definebitsjpeg2
336 ./definebitsjpeg2 $(srcdir)/../media/lynch.jpg
338 DefineTextTest.swf: DefineTextTest
339 ./DefineTextTest $(abs_mediadir)
341 DefineTextTest_SOURCES = DefineTextTest.c
342 DefineTextTest_LDADD = libgnashmingutils.la
344 DefineTextTest_Runner_SOURCES = \
345 DefineTextTest-Runner.cpp \
347 DefineTextTest_Runner_CXXFLAGS = \
348 -DTGTDIR='"$(abs_builddir)"' \
350 DefineTextTest_Runner_LDADD = \
351 $(top_builddir)/testsuite/libtestsuite.la \
354 DefineTextTest_Runner_DEPENDENCIES = \
355 $(top_builddir)/testsuite/libtestsuite.la \
359 TextSnapshotTest.swf: TextSnapshotTest
360 ./TextSnapshotTest $(abs_mediadir)
362 TextSnapshotTest_SOURCES = TextSnapshotTest.c
363 TextSnapshotTest_LDADD = libgnashmingutils.la
365 TextSnapshotTest-Runner: $(srcdir)/../generic-testrunner.sh TextSnapshotTest.swf
366 sh $(srcdir)/../generic-testrunner.sh $(top_builddir) TextSnapshotTest.swf > $@
369 DeviceFontTestRunner: $(srcdir)/../generic-testrunner.sh DeviceFontTest.swf
370 sh $(srcdir)/../generic-testrunner.sh $(top_builddir) DeviceFontTest.swf > $@
372 DeviceFontTest.swf: DeviceFontTest
373 ./DeviceFontTest $(abs_mediadir)
374 DeviceFontTest_SOURCES = DeviceFontTest.c
375 DeviceFontTest_LDADD = libgnashmingutils.la
377 EmbeddedFontTestRunner: $(srcdir)/../generic-testrunner.sh EmbeddedFontTest.swf
378 sh $(srcdir)/../generic-testrunner.sh $(top_builddir) EmbeddedFontTest.swf > $@
380 EmbeddedFontTest.swf: EmbeddedFontTest
381 ./EmbeddedFontTest $(abs_mediadir)
382 EmbeddedFontTest_SOURCES = EmbeddedFontTest.c
383 EmbeddedFontTest_LDADD = libgnashmingutils.la
385 DefineEditTextTest.swf: DefineEditTextTest
386 ./DefineEditTextTest $(abs_mediadir)
387 DefineEditTextTest_SOURCES = DefineEditTextTest.c
388 DefineEditTextTest_LDADD = libgnashmingutils.la
390 DefineEditTextTest_Runner_SOURCES = \
391 DefineEditTextTest-Runner.cpp \
393 DefineEditTextTest_Runner_CXXFLAGS = \
394 -DTGTDIR='"$(abs_builddir)"' \
396 DefineEditTextTest_Runner_LDADD = \
397 $(top_builddir)/testsuite/libtestsuite.la \
400 DefineEditTextTest_Runner_DEPENDENCIES = \
401 $(top_builddir)/testsuite/libtestsuite.la \
402 DefineEditTextTest.swf \
405 spritehier_SOURCES = spritehier.c
406 spritehier_LDADD = $(MING_LIBS)
408 opcode_guard_test_SOURCES = \
409 opcode_guard_test.c \
411 opcode_guard_test_LDADD = libgnashmingutils.la
413 opcode_guard_test.swf: opcode_guard_test
414 ./opcode_guard_test $(abs_mediadir)
416 opcode_guard_testrunner: $(srcdir)/../generic-testrunner.sh opcode_guard_test.swf
417 sh $(srcdir)/../generic-testrunner.sh $(top_builddir) opcode_guard_test.swf > $@
420 runtime_vm_stack_test_SOURCES = \
421 runtime_vm_stack_test.c \
423 runtime_vm_stack_test_LDADD = libgnashmingutils.la
425 runtime_vm_stack_test.swf: runtime_vm_stack_test
426 ./runtime_vm_stack_test $(abs_mediadir)
428 runtime_vm_stack_testrunner: $(srcdir)/../generic-testrunner.sh runtime_vm_stack_test.swf
429 sh $(srcdir)/../generic-testrunner.sh $(top_builddir) runtime_vm_stack_test.swf > $@
432 new_child_in_unload_test_SOURCES = \
433 new_child_in_unload_test.c \
435 new_child_in_unload_test_LDADD = libgnashmingutils.la
437 new_child_in_unload_test.swf: new_child_in_unload_test
438 ./new_child_in_unload_test $(abs_mediadir)
440 new_child_in_unload_testrunner: $(srcdir)/../generic-testrunner.sh new_child_in_unload_test.swf
441 sh $(srcdir)/../generic-testrunner.sh $(top_builddir) new_child_in_unload_test.swf > $@
444 PlaceObject2Test_SOURCES = \
447 PlaceObject2Test_LDADD = libgnashmingutils.la
449 PlaceObject2Test.swf: PlaceObject2Test
450 ./PlaceObject2Test $(abs_mediadir)
452 PlaceObject2TestRunner: $(srcdir)/../generic-testrunner.sh PlaceObject2Test.swf
453 sh $(srcdir)/../generic-testrunner.sh -r5 $(top_builddir) PlaceObject2Test.swf > $@
456 RemoveObject2Test_SOURCES = RemoveObject2Test.c
457 RemoveObject2Test_LDADD = libgnashmingutils.la
459 eventSoundTest1_SOURCES = eventSoundTest1.c
460 eventSoundTest1_LDADD = libgnashmingutils.la
462 eventSoundTest1.swf: eventSoundTest1
463 ./eventSoundTest1 $(srcdir)/../media/brokenchord.wav \
466 eventSoundTest1_Runner_SOURCES = \
467 eventSoundTest1-Runner.cpp \
469 eventSoundTest1_Runner_CXXFLAGS = \
470 -DTGTDIR='"$(abs_builddir)"' \
472 eventSoundTest1_Runner_LDADD = \
473 $(top_builddir)/testsuite/libtestsuite.la \
476 eventSoundTest1_Runner_DEPENDENCIES = \
477 $(top_builddir)/testsuite/libtestsuite.la \
478 eventSoundTest1.swf \
481 streamingSoundTest1_SOURCES = streamingSoundTest1.c
482 streamingSoundTest1_LDADD = libgnashmingutils.la
484 streamingSoundTest1.swf: streamingSoundTest1
485 ./streamingSoundTest1 $(srcdir)/../media/sound1.mp3
487 streamingSoundTest1_Runner_SOURCES = \
488 streamingSoundTest1-Runner.cpp \
490 streamingSoundTest1_Runner_CXXFLAGS = \
491 -DTGTDIR='"$(abs_builddir)"' \
493 streamingSoundTest1_Runner_LDADD = \
494 $(top_builddir)/testsuite/libtestsuite.la \
497 streamingSoundTest1_Runner_DEPENDENCIES = \
498 $(top_builddir)/testsuite/libtestsuite.la \
499 streamingSoundTest1.swf \
503 DefineEditTextVariableNameTest_SOURCES = \
504 DefineEditTextVariableNameTest.c \
506 DefineEditTextVariableNameTest_LDADD = libgnashmingutils.la
508 DefineEditTextVariableNameTest.swf: DefineEditTextVariableNameTest
509 ./DefineEditTextVariableNameTest $(abs_mediadir)
511 DefineEditTextVariableNameTest_Runner_SOURCES = \
512 DefineEditTextVariableNameTest-Runner.cpp \
514 DefineEditTextVariableNameTest_Runner_LDADD = \
515 $(top_builddir)/testsuite/libtestsuite.la \
518 DefineEditTextVariableNameTest_Runner_DEPENDENCIES = \
519 $(top_builddir)/testsuite/libtestsuite.la \
520 DefineEditTextVariableNameTest.swf \
524 DefineEditTextVariableNameTest2_SOURCES = \
525 DefineEditTextVariableNameTest2.c \
527 DefineEditTextVariableNameTest2_LDADD = libgnashmingutils.la
529 DefineEditTextVariableNameTest2.swf: DefineEditTextVariableNameTest2
530 ./DefineEditTextVariableNameTest2 $(abs_mediadir)
532 DefineEditTextVariableNameTest2-Runner: $(srcdir)/../generic-testrunner.sh DefineEditTextVariableNameTest2.swf
533 sh $(srcdir)/../generic-testrunner.sh $(top_builddir) DefineEditTextVariableNameTest2.swf > $@
536 timeline_var_test_SOURCES = \
537 timeline_var_test.c \
539 timeline_var_test_LDADD = libgnashmingutils.la
541 timeline_var_test.swf: timeline_var_test
542 ./timeline_var_test $(abs_mediadir)
544 timeline_var_test-Runner: $(srcdir)/../generic-testrunner.sh timeline_var_test.swf
545 sh $(srcdir)/../generic-testrunner.sh $(top_builddir) timeline_var_test.swf > $@
548 root_stop_test_SOURCES = root_stop_test.c
549 root_stop_test_LDADD = libgnashmingutils.la
551 root_stop_test.swf: root_stop_test
552 ./root_stop_test $(abs_mediadir)
554 root_stop_testrunner_SOURCES = \
555 root_stop_testrunner.cpp \
557 root_stop_testrunner_LDADD = \
558 $(top_builddir)/testsuite/libtestsuite.la \
561 root_stop_testrunner_CXXFLAGS = \
562 -DSRCDIR='"$(srcdir)"' \
563 -DTGTDIR='"$(abs_builddir)"'
564 root_stop_testrunner_DEPENDENCIES = \
565 $(top_builddir)/testsuite/libtestsuite.la \
569 shape_test_SOURCES = shape_test.c
570 shape_test_LDADD = libgnashmingutils.la
572 shape_test.swf: shape_test
573 ./shape_test $(abs_mediadir)
575 shape_testrunner: $(srcdir)/../generic-testrunner.sh shape_test.swf
576 sh $(srcdir)/../generic-testrunner.sh -f20 $(top_builddir) shape_test.swf > $@
579 morph_test1_SOURCES = morph_test1.c
580 morph_test1_LDADD = libgnashmingutils.la
582 morph_test1.swf: morph_test1
583 ./morph_test1 $(abs_mediadir)
585 morph_test1runner_SOURCES = \
586 morph_test1runner.cpp \
588 morph_test1runner_LDADD = \
589 $(top_builddir)/testsuite/libtestsuite.la \
592 morph_test1runner_CXXFLAGS = \
593 -DSRCDIR='"$(srcdir)"' \
594 -DTGTDIR='"$(abs_builddir)"' \
596 morph_test1runner_DEPENDENCIES = \
598 $(top_builddir)/testsuite/libtestsuite.la \
601 key_event_test_SOURCES = key_event_test.c
602 key_event_test_LDADD = libgnashmingutils.la
604 key_event_test.swf: key_event_test
605 ./key_event_test $(abs_mediadir)
607 key_event_testrunner_SOURCES = \
608 key_event_testrunner.cpp \
610 key_event_testrunner_LDADD = \
611 $(top_builddir)/testsuite/libtestsuite.la \
614 key_event_testrunner_CXXFLAGS = \
615 -DSRCDIR='"$(srcdir)"' \
616 -DTGTDIR='"$(abs_builddir)"' \
618 key_event_testrunner_DEPENDENCIES = \
620 $(top_builddir)/testsuite/libtestsuite.la \
623 KeyEventOrder_SOURCES = KeyEventOrder.c
624 KeyEventOrder_LDADD = libgnashmingutils.la
626 KeyEventOrder.swf: KeyEventOrder
627 ./KeyEventOrder $(abs_mediadir)
629 KeyEventOrderRunner_SOURCES = \
630 KeyEventOrderRunner.cpp \
632 KeyEventOrderRunner_LDADD = \
633 $(top_builddir)/testsuite/libtestsuite.la \
636 KeyEventOrderRunner_CXXFLAGS = \
637 -DSRCDIR='"$(srcdir)"' \
638 -DTGTDIR='"$(abs_builddir)"' \
640 KeyEventOrderRunner_DEPENDENCIES = \
642 $(top_builddir)/testsuite/libtestsuite.la \
645 place_object_test_SOURCES = place_object_test.c
646 place_object_test_LDADD = libgnashmingutils.la
648 place_object_test.swf: place_object_test
649 ./place_object_test $(abs_mediadir)
651 place_object_testrunner: $(srcdir)/../generic-testrunner.sh place_object_test.swf
652 sh $(srcdir)/../generic-testrunner.sh -r5 $(top_builddir) place_object_test.swf > $@
656 place_object_test2_SOURCES = place_object_test2.c
657 place_object_test2_LDADD = libgnashmingutils.la
659 place_object_test2.swf: place_object_test2
660 ./place_object_test2 $(abs_mediadir)
662 place_object_test2runner: $(srcdir)/../generic-testrunner.sh place_object_test2.swf
663 sh $(srcdir)/../generic-testrunner.sh -r5 $(top_builddir) place_object_test2.swf > $@
666 move_object_test_SOURCES = \
669 move_object_test_LDADD = libgnashmingutils.la
671 move_object_test.swf: move_object_test
672 ./move_object_test $(abs_mediadir)
674 move_object_testrunner: $(srcdir)/../generic-testrunner.sh move_object_test.swf
675 sh $(srcdir)/../generic-testrunner.sh -r5 $(top_builddir) move_object_test.swf > $@
678 place_and_remove_object_test_SOURCES = \
679 place_and_remove_object_test.c \
681 place_and_remove_object_test_LDADD = libgnashmingutils.la
683 place_and_remove_object_test.swf: place_and_remove_object_test
684 ./place_and_remove_object_test $(abs_mediadir)
686 place_and_remove_object_testrunner: $(srcdir)/../generic-testrunner.sh place_and_remove_object_test.swf
687 sh $(srcdir)/../generic-testrunner.sh -r5 $(top_builddir) place_and_remove_object_test.swf > $@
690 place_and_remove_object_insane_test_SOURCES = \
691 place_and_remove_object_insane_test.c \
693 place_and_remove_object_insane_test_LDADD = libgnashmingutils.la
695 place_and_remove_object_insane_test.swf: place_and_remove_object_insane_test
696 ./place_and_remove_object_insane_test $(abs_mediadir)
698 place_and_remove_object_insane_testrunner: $(srcdir)/../generic-testrunner.sh place_and_remove_object_insane_test.swf
699 sh $(srcdir)/../generic-testrunner.sh -r5 $(top_builddir) place_and_remove_object_insane_test.swf > $@
702 unload_movieclip_test1_SOURCES = \
703 unload_movieclip_test1.c \
705 unload_movieclip_test1_LDADD = libgnashmingutils.la
707 unload_movieclip_test1.swf: unload_movieclip_test1
708 ./unload_movieclip_test1 $(abs_mediadir)
710 unload_movieclip_test1runner: $(srcdir)/../generic-testrunner.sh unload_movieclip_test1.swf
711 sh $(srcdir)/../generic-testrunner.sh -f10 $(top_builddir) unload_movieclip_test1.swf > $@
714 DepthLimitsTest_SOURCES = DepthLimitsTest.c
715 DepthLimitsTest_LDADD = libgnashmingutils.la
717 DepthLimitsTest.swf: DepthLimitsTest
718 ./DepthLimitsTest $(abs_mediadir)
720 DepthLimitsTestrunner: $(srcdir)/../generic-testrunner.sh DepthLimitsTest.swf
721 sh $(srcdir)/../generic-testrunner.sh -r5 $(top_builddir) DepthLimitsTest.swf > $@
725 replace_shapes1test_SOURCES = replace_shapes1test.c
726 replace_shapes1test_LDADD = libgnashmingutils.la
728 replace_shapes1test.swf: replace_shapes1test
729 ./replace_shapes1test $(abs_mediadir)
731 replace_shapes1test_runner_SOURCES = \
732 replace_shapes1test_runner.cpp \
734 replace_shapes1test_runner_CXXFLAGS = \
735 -DTGTDIR='"$(abs_builddir)"' \
737 replace_shapes1test_runner_LDADD = \
738 $(top_builddir)/testsuite/libtestsuite.la \
741 replace_shapes1test_runner_DEPENDENCIES = \
742 $(top_builddir)/testsuite/libtestsuite.la \
743 replace_shapes1test.swf \
746 replace_sprites1test_SOURCES = replace_sprites1test.c
747 replace_sprites1test_LDADD = libgnashmingutils.la
749 replace_sprites1test.swf: replace_sprites1test
750 ./replace_sprites1test $(abs_mediadir)
752 replace_sprites1test_runner_SOURCES = \
753 replace_sprites1test_runner.cpp \
755 replace_sprites1test_runner_CXXFLAGS = \
756 -DTGTDIR='"$(abs_builddir)"' \
758 replace_sprites1test_runner_LDADD = \
759 $(top_builddir)/testsuite/libtestsuite.la \
762 replace_sprites1test_runner_DEPENDENCIES = \
763 $(top_builddir)/testsuite/libtestsuite.la \
764 replace_sprites1test.swf \
767 replace_buttons1test_SOURCES = replace_buttons1test.c
768 replace_buttons1test_LDADD = libgnashmingutils.la
770 replace_buttons1test.swf: replace_buttons1test
771 ./replace_buttons1test $(abs_mediadir)
773 replace_buttons1test_runner_SOURCES = \
774 replace_buttons1test_runner.cpp \
776 replace_buttons1test_runner_CXXFLAGS = \
777 -DTGTDIR='"$(abs_builddir)"' \
779 replace_buttons1test_runner_LDADD = \
780 $(top_builddir)/testsuite/libtestsuite.la \
783 replace_buttons1test_runner_DEPENDENCIES = \
784 $(top_builddir)/testsuite/libtestsuite.la \
785 replace_buttons1test.swf \
789 masks_test_SOURCES = \
792 masks_test_LDADD = libgnashmingutils.la
794 masks_test.swf: masks_test
795 ./masks_test $(abs_mediadir)
797 masks_testrunner_SOURCES = \
798 masks_testrunner.cpp \
800 masks_testrunner_CXXFLAGS = \
801 -DTGTDIR='"$(abs_builddir)"' \
803 masks_testrunner_LDADD = \
804 $(top_builddir)/testsuite/libtestsuite.la \
807 masks_testrunner_DEPENDENCIES = \
808 $(top_builddir)/testsuite/libtestsuite.la \
813 masks_test2_SOURCES = \
816 masks_test2_LDADD = libgnashmingutils.la
818 masks_test2.swf: masks_test2
819 ./masks_test2 $(abs_mediadir)
821 masks_test2runner_SOURCES = \
822 masks_test2runner.cpp \
824 masks_test2runner_CXXFLAGS = \
825 -DTGTDIR='"$(abs_builddir)"' \
827 masks_test2runner_LDADD = \
828 $(top_builddir)/testsuite/libtestsuite.la \
831 masks_test2runner_DEPENDENCIES = \
832 $(top_builddir)/testsuite/libtestsuite.la \
836 matrix_test_SOURCES = \
839 matrix_test_LDADD = libgnashmingutils.la
841 matrix_test.swf: matrix_test
842 ./matrix_test $(abs_mediadir)
844 matrix_testrunner: $(srcdir)/../generic-testrunner.sh matrix_test.swf
845 sh $(srcdir)/../generic-testrunner.sh -r5 $(top_builddir) matrix_test.swf > $@
848 get_frame_number_test_SOURCES = \
849 get_frame_number_test.c \
851 get_frame_number_test_LDADD = libgnashmingutils.la
853 get_frame_number_test.swf: get_frame_number_test
854 ./get_frame_number_test $(abs_mediadir)
856 get_frame_number_testrunner: $(srcdir)/../generic-testrunner.sh get_frame_number_test.swf
857 sh $(srcdir)/../generic-testrunner.sh -f20 $(top_builddir) get_frame_number_test.swf > $@
860 frame_label_test_SOURCES = \
863 frame_label_test_LDADD = libgnashmingutils.la
865 frame_label_test.swf: frame_label_test
866 ./frame_label_test $(abs_mediadir)
868 frame_label_testrunner: $(srcdir)/../generic-testrunner.sh frame_label_test.swf
869 sh $(srcdir)/../generic-testrunner.sh -r5 $(top_builddir) frame_label_test.swf > $@
872 path_format_test_SOURCES = \
875 path_format_test_LDADD = libgnashmingutils.la
877 path_format_test.swf: path_format_test
878 ./path_format_test $(abs_mediadir)
880 path_format_testrunner: $(srcdir)/../generic-testrunner.sh path_format_test.swf
881 sh $(srcdir)/../generic-testrunner.sh -r5 $(top_builddir) path_format_test.swf > $@
884 callFunction_test_SOURCES = \
885 callFunction_test.c \
887 callFunction_test_LDADD = libgnashmingutils.la
889 callFunction_test.swf: callFunction_test
890 ./callFunction_test $(abs_mediadir)
892 callFunction_testrunner: $(srcdir)/../generic-testrunner.sh callFunction_test.swf
893 sh $(srcdir)/../generic-testrunner.sh -r5 $(top_builddir) callFunction_test.swf > $@
896 duplicate_movie_clip_test_SOURCES = \
897 duplicate_movie_clip_test.c \
899 duplicate_movie_clip_test_LDADD = libgnashmingutils.la
901 duplicate_movie_clip_test.swf: duplicate_movie_clip_test
902 ./duplicate_movie_clip_test $(abs_mediadir)
904 duplicate_movie_clip_testrunner: $(srcdir)/../generic-testrunner.sh duplicate_movie_clip_test.swf
905 sh $(srcdir)/../generic-testrunner.sh -r5 $(top_builddir) duplicate_movie_clip_test.swf > $@
909 duplicate_movie_clip_test2_SOURCES = \
910 duplicate_movie_clip_test2.c \
912 duplicate_movie_clip_test2_LDADD = libgnashmingutils.la
914 duplicate_movie_clip_test2.swf: duplicate_movie_clip_test2
915 ./duplicate_movie_clip_test2 $(abs_mediadir)
917 duplicate_movie_clip_test2runner: $(srcdir)/../generic-testrunner.sh duplicate_movie_clip_test2.swf
918 sh $(srcdir)/../generic-testrunner.sh -r5 $(top_builddir) duplicate_movie_clip_test2.swf > $@
922 event_handler_scope_test_SOURCES = \
923 event_handler_scope_test.c \
925 event_handler_scope_test_LDADD = libgnashmingutils.la
927 event_handler_scope_test.swf: event_handler_scope_test
928 ./event_handler_scope_test $(abs_mediadir)
930 event_handler_scope_testrunner: $(srcdir)/../generic-testrunner.sh event_handler_scope_test.swf
931 sh $(srcdir)/../generic-testrunner.sh -r5 $(top_builddir) event_handler_scope_test.swf > $@
934 attachMovieTest_SOURCES = \
937 attachMovieTest_LDADD = libgnashmingutils.la
939 attachMovieTest.swf: attachMovieTest
940 ./attachMovieTest $(abs_mediadir)
942 attachMovieTestRunner_SOURCES = \
943 attachMovieTestRunner.cpp \
945 attachMovieTestRunner_LDADD = \
946 $(top_builddir)/testsuite/libtestsuite.la \
949 attachMovieTestRunner_CXXFLAGS = \
950 -DSRCDIR='"$(srcdir)"' \
951 -DTGTDIR='"$(abs_builddir)"' \
953 attachMovieTestRunner_DEPENDENCIES = \
954 attachMovieTest.swf \
955 $(top_builddir)/testsuite/libtestsuite.la \
958 attachMovieLoopingTest_SOURCES = \
959 attachMovieLoopingTest.c \
961 attachMovieLoopingTest_LDADD = libgnashmingutils.la
963 attachMovieLoopingTest.swf: attachMovieLoopingTest
964 ./attachMovieLoopingTest $(abs_mediadir)
966 attachMovieLoopingTestRunner_SOURCES = \
967 attachMovieLoopingTestRunner.cpp \
969 attachMovieLoopingTestRunner_LDADD = \
970 $(top_builddir)/testsuite/libtestsuite.la \
973 attachMovieLoopingTestRunner_CXXFLAGS = \
974 -DSRCDIR='"$(srcdir)"' \
975 -DTGTDIR='"$(abs_builddir)"' \
977 attachMovieLoopingTestRunner_DEPENDENCIES = \
978 attachMovieLoopingTest.swf \
979 $(top_builddir)/testsuite/libtestsuite.la \
982 # This will only work with Ming-0.4.0beta2
983 # (support for prebuilt clips inclusion)
984 attachImported.swf: Dejagnu.swf $(srcdir)/attachImported.as attachMovieTest.swf
985 $(MAKESWF) -DOUTPUT_VERSION=6 -v6 -i attachMovieTest.swf:redsquare -o $@ Dejagnu.swf $(srcdir)/attachImported.as
986 attachImported-Runner: $(srcdir)/../generic-testrunner.sh attachImported.swf Makefile
987 sh $(srcdir)/../generic-testrunner.sh -r5 -c "END_OF_TEST" $(top_builddir) attachImported.swf > $@
990 # This will only work with Ming-0.4.0beta2
991 # (support for prebuilt clips inclusion)
992 attachExtImported.swf: Dejagnu.swf $(srcdir)/attachExtImported.as attachImported.swf attachMovieTest.swf
993 $(MAKESWF) -DOUTPUT_VERSION=6 -v6 -i attachImported.swf:redsquare -o $@ Dejagnu.swf $(srcdir)/attachExtImported.as
994 attachExtImported-Runner: $(srcdir)/../generic-testrunner.sh attachExtImported.swf Makefile
995 sh $(srcdir)/../generic-testrunner.sh -r5 -c "END_OF_TEST" $(top_builddir) attachExtImported.swf > $@
998 goto_frame_test_SOURCES = \
1001 goto_frame_test_LDADD = libgnashmingutils.la
1003 goto_frame_test.swf: goto_frame_test
1004 ./goto_frame_test $(abs_mediadir)
1006 goto_frame_testrunner: $(srcdir)/../generic-testrunner.sh goto_frame_test.swf
1007 sh $(srcdir)/../generic-testrunner.sh $(top_builddir) goto_frame_test.swf > $@
1010 consecutive_goto_frame_test_SOURCES = \
1011 consecutive_goto_frame_test.c \
1013 consecutive_goto_frame_test_LDADD = libgnashmingutils.la
1015 consecutive_goto_frame_test.swf: consecutive_goto_frame_test
1016 ./consecutive_goto_frame_test $(abs_mediadir)
1018 consecutive_goto_frame_testrunner: $(srcdir)/../generic-testrunner.sh consecutive_goto_frame_test.swf
1019 sh $(srcdir)/../generic-testrunner.sh $(top_builddir) consecutive_goto_frame_test.swf > $@
1022 multi_doactions_and_goto_frame_test_SOURCES = \
1023 multi_doactions_and_goto_frame_test.c \
1025 multi_doactions_and_goto_frame_test_LDADD = libgnashmingutils.la
1027 multi_doactions_and_goto_frame_test.swf: multi_doactions_and_goto_frame_test
1028 ./multi_doactions_and_goto_frame_test $(abs_mediadir)
1030 multi_doactions_and_goto_frame_testrunner: $(srcdir)/../generic-testrunner.sh multi_doactions_and_goto_frame_test.swf
1031 sh $(srcdir)/../generic-testrunner.sh $(top_builddir) multi_doactions_and_goto_frame_test.swf > $@
1034 reverse_execute_PlaceObject2_test1_SOURCES = \
1035 reverse_execute_PlaceObject2_test1.c \
1037 reverse_execute_PlaceObject2_test1_LDADD = libgnashmingutils.la
1039 reverse_execute_PlaceObject2_test1.swf: reverse_execute_PlaceObject2_test1
1040 ./reverse_execute_PlaceObject2_test1 $(abs_mediadir)
1042 reverse_execute_PlaceObject2_test1runner: $(srcdir)/../generic-testrunner.sh reverse_execute_PlaceObject2_test1.swf
1043 sh $(srcdir)/../generic-testrunner.sh $(top_builddir) reverse_execute_PlaceObject2_test1.swf > $@
1046 reverse_execute_PlaceObject2_test2_SOURCES = \
1047 reverse_execute_PlaceObject2_test2.c \
1049 reverse_execute_PlaceObject2_test2_LDADD = libgnashmingutils.la
1051 reverse_execute_PlaceObject2_test2.swf: reverse_execute_PlaceObject2_test2
1052 ./reverse_execute_PlaceObject2_test2 $(abs_mediadir)
1054 reverse_execute_PlaceObject2_test2runner: $(srcdir)/../generic-testrunner.sh reverse_execute_PlaceObject2_test2.swf
1055 sh $(srcdir)/../generic-testrunner.sh $(top_builddir) reverse_execute_PlaceObject2_test2.swf > $@
1058 BitmapDataTest_SOURCES = \
1062 BitmapDataTest_CFLAGS = \
1063 -DMEDIADIR='"$(abs_mediadir)"' \
1066 BitmapDataTest_LDADD = libgnashmingutils.la
1068 BitmapDataTest.swf: BitmapDataTest
1069 ./BitmapDataTest $(abs_mediadir)
1071 BitmapDataTestRunner_SOURCES = \
1072 BitmapDataTestRunner.cpp \
1075 BitmapDataTestRunner_CXXFLAGS = \
1076 -DSRCDIR='"$(srcdir)"' \
1077 -DTGTDIR='"$(abs_builddir)"' \
1080 BitmapDataTestRunner_LDADD = \
1081 $(top_builddir)/testsuite/libtestsuite.la \
1085 BitmapDataTestRunner_DEPENDENCIES = \
1086 $(top_builddir)/testsuite/libtestsuite.la \
1087 BitmapDataTest.swf \
1090 BitmapDataDraw_SOURCES = \
1094 BitmapDataDraw_CFLAGS = \
1095 -DMEDIADIR='"$(abs_mediadir)"' \
1098 BitmapDataDraw_LDADD = libgnashmingutils.la
1100 BitmapDataDraw.swf: BitmapDataDraw
1101 ./BitmapDataDraw $(abs_mediadir)
1103 BitmapDataDrawRunner: $(srcdir)/../generic-testrunner.sh BitmapDataDraw.swf
1104 sh $(srcdir)/../generic-testrunner.sh $(top_builddir) BitmapDataDraw.swf > $@
1107 BeginBitmapFill_SOURCES = \
1111 BeginBitmapFill_CFLAGS = \
1112 -DMEDIADIR='"$(abs_mediadir)"' \
1115 BeginBitmapFill_LDADD = libgnashmingutils.la
1117 BeginBitmapFill.swf: BeginBitmapFill
1118 ./BeginBitmapFill $(abs_mediadir)
1120 BeginBitmapFillRunner_SOURCES = \
1121 BeginBitmapFillRunner.cpp \
1124 BeginBitmapFillRunner_CXXFLAGS = \
1125 -DSRCDIR='"$(srcdir)"' \
1126 -DTGTDIR='"$(abs_builddir)"' \
1129 BeginBitmapFillRunner_LDADD = \
1130 $(top_builddir)/testsuite/libtestsuite.la \
1134 BeginBitmapFillRunner_DEPENDENCIES = \
1135 $(top_builddir)/testsuite/libtestsuite.la \
1136 BeginBitmapFill.swf \
1139 EmbeddedSoundTest_SOURCES = \
1140 EmbeddedSoundTest.c \
1143 EmbeddedSoundTest_CFLAGS = \
1144 -DMEDIADIR='"$(abs_mediadir)"' \
1147 EmbeddedSoundTest_LDADD = libgnashmingutils.la
1149 EmbeddedSoundTest.swf: EmbeddedSoundTest
1150 ./EmbeddedSoundTest $(abs_mediadir)
1152 EmbeddedSoundTest_Runner_SOURCES = \
1153 EmbeddedSoundTest-Runner.cpp \
1156 EmbeddedSoundTest_Runner_CXXFLAGS = \
1157 -DSRCDIR='"$(srcdir)"' \
1158 -DTGTDIR='"$(abs_builddir)"' \
1161 EmbeddedSoundTest_Runner_LDADD = \
1162 $(top_builddir)/testsuite/libtestsuite.la \
1166 EmbeddedSoundTest_Runner_DEPENDENCIES = \
1167 $(top_builddir)/testsuite/libtestsuite.la \
1168 EmbeddedSoundTest.swf \
1171 BitmapSmoothingTest_SOURCES = \
1172 BitmapSmoothingTest.c \
1175 BitmapSmoothingTest_CFLAGS = \
1176 -DMEDIADIR='"$(abs_mediadir)"' \
1179 BitmapSmoothingTest_LDADD = libgnashmingutils.la
1181 BitmapSmoothingTest-v7.swf: BitmapSmoothingTest
1182 ./BitmapSmoothingTest 7
1184 BitmapSmoothingTest-v8.swf: BitmapSmoothingTest
1185 ./BitmapSmoothingTest 8
1187 registerClassTest_SOURCES = \
1188 registerClassTest.c \
1190 registerClassTest_LDADD = libgnashmingutils.la
1192 registerClassTest.swf: registerClassTest
1193 ./registerClassTest $(abs_mediadir)
1195 registerClassTestRunner_SOURCES = \
1196 registerClassTestRunner.cpp \
1198 registerClassTestRunner_LDADD = \
1199 $(top_builddir)/testsuite/libtestsuite.la \
1202 registerClassTestRunner_CXXFLAGS = \
1203 -DSRCDIR='"$(srcdir)"' \
1204 -DTGTDIR='"$(abs_builddir)"' \
1206 registerClassTestRunner_DEPENDENCIES = \
1207 registerClassTest.swf \
1208 $(top_builddir)/testsuite/libtestsuite.la \
1211 registerClassTest2_SOURCES = \
1212 registerClassTest2.c \
1214 registerClassTest2_LDADD = libgnashmingutils.la
1216 registerClassTest2.swf: registerClassTest2
1217 ./registerClassTest2 $(abs_mediadir)
1219 registerClassTest2runner: $(srcdir)/../generic-testrunner.sh registerClassTest2.swf
1220 sh $(srcdir)/../generic-testrunner.sh $(top_builddir) registerClassTest2.swf > $@
1223 spritehier.swf: spritehier
1226 RemoveObject2Test.swf: RemoveObject2Test
1229 RollOverOutTest_SOURCES = \
1232 RollOverOutTest_LDADD = libgnashmingutils.la
1233 RollOverOutTest.swf: RollOverOutTest
1234 ./RollOverOutTest $(abs_mediadir)
1235 RollOverOutTest_Runner_SOURCES = \
1236 RollOverOutTest-Runner.cpp \
1238 RollOverOutTest_Runner_LDADD = \
1239 $(top_builddir)/testsuite/libtestsuite.la \
1242 RollOverOutTest_Runner_CXXFLAGS = \
1243 -DSRCDIR='"$(srcdir)"' \
1244 -DTGTDIR='"$(abs_builddir)"'
1245 RollOverOutTest_Runner_DEPENDENCIES = \
1246 $(top_builddir)/testsuite/libtestsuite.la \
1247 RollOverOutTest.swf \
1250 ButtonEventsTest_SOURCES = \
1251 ButtonEventsTest.c \
1253 ButtonEventsTest_LDADD = libgnashmingutils.la
1254 ButtonEventsTest.swf: ButtonEventsTest
1255 ./ButtonEventsTest $(abs_mediadir)
1256 ButtonEventsTest_Runner_SOURCES = \
1257 ButtonEventsTest-Runner.cpp \
1259 ButtonEventsTest_Runner_LDADD = \
1260 $(top_builddir)/testsuite/libtestsuite.la \
1263 ButtonEventsTest_Runner_DEPENDENCIES = \
1264 $(top_builddir)/testsuite/libtestsuite.la \
1265 ButtonEventsTest.swf \
1267 ButtonEventsTest_Runner_CXXFLAGS = \
1268 -DTGTDIR='"$(abs_builddir)"' \
1271 SpriteButtonEventsTest_SOURCES = \
1272 SpriteButtonEventsTest.c \
1274 SpriteButtonEventsTest_LDADD = libgnashmingutils.la
1275 SpriteButtonEventsTest.swf: SpriteButtonEventsTest
1276 ./SpriteButtonEventsTest $(abs_mediadir)
1277 SpriteButtonEventsTest_Runner_SOURCES = \
1278 SpriteButtonEventsTest-Runner.cpp \
1280 SpriteButtonEventsTest_Runner_LDADD = \
1281 $(top_builddir)/testsuite/libtestsuite.la \
1284 SpriteButtonEventsTest_Runner_DEPENDENCIES = \
1285 $(top_builddir)/testsuite/libtestsuite.la \
1286 SpriteButtonEventsTest.swf \
1288 SpriteButtonEventsTest_Runner_CXXFLAGS = \
1289 -DTGTDIR='"$(abs_builddir)"' \
1292 ResolveEventsTest_SOURCES = \
1293 ResolveEventsTest.c \
1295 ResolveEventsTest_LDADD = libgnashmingutils.la
1296 ResolveEventsTest.swf: ResolveEventsTest
1297 ./ResolveEventsTest $(abs_mediadir)
1298 ResolveEventsTest_Runner_SOURCES = \
1299 ResolveEventsTest-Runner.cpp \
1301 ResolveEventsTest_Runner_LDADD = \
1302 $(top_builddir)/testsuite/libtestsuite.la \
1305 ResolveEventsTest_Runner_DEPENDENCIES = \
1306 $(top_builddir)/testsuite/libtestsuite.la \
1307 ResolveEventsTest.swf \
1309 ResolveEventsTest_Runner_CXXFLAGS = \
1310 -DTGTDIR='"$(abs_builddir)"' \
1313 # This will only work with Ming-0.4.0beta2 (support for prebuilt clips inclusion)
1314 VarAndCharClashTest.swf: $(srcdir)/../media/green.swf Dejagnu.swf $(srcdir)/VarAndCharClashTest.as
1315 $(MAKESWF) -o $@ Dejagnu.swf $(srcdir)/../media/green.swf $(srcdir)/VarAndCharClashTest.as
1316 VarAndCharClashTest-Runner: $(srcdir)/../generic-testrunner.sh VarAndCharClashTest.swf
1317 sh $(srcdir)/../generic-testrunner.sh $(top_builddir) VarAndCharClashTest.swf > $@
1320 # This will only work with Ming-0.4.0beta2 (support for prebuilt clips inclusion)
1321 FlashVarsTest.swf: Dejagnu.swf FlashVarsTest.as
1322 $(MAKESWF) -DOUTPUT_VERSION=6 -v6 -o $@ Dejagnu.swf $(srcdir)/FlashVarsTest.as
1323 FlashVarsTest-Runner: $(srcdir)/../generic-testrunner.sh FlashVarsTest.swf Makefile
1324 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'" > $@
1327 # This will only work with Ming-0.4.0beta2 (support for prebuilt clips inclusion)
1328 SharedObjectTest.swf: Dejagnu.swf SharedObjectTest.as
1329 $(MAKESWF) -DOUTPUT_VERSION=6 -v6 -o $@ Dejagnu.swf $(srcdir)/SharedObjectTest.as
1331 SharedObjectTestRunner: SharedObjectTestRunner.sh Makefile SharedObjectTest.swf
1332 sed -e 's#@@TOP_BUILDDIR@@#${abs_top_builddir}#' -e 's#@@BASEINPUTSOLDIR@@#${srcdir}/SharedObjectTest.sol#' $(srcdir)/SharedObjectTestRunner.sh > $@
1335 StageConfigTest.swf: StageConfigTest.as
1336 $(MAKESWF) -o $@ -s 512x512 $(srcdir)/StageConfigTest.as
1338 ButtonPropertiesTest_SOURCES = \
1339 ButtonPropertiesTest.c \
1341 ButtonPropertiesTest_LDADD = libgnashmingutils.la
1342 ButtonPropertiesTest.swf: ButtonPropertiesTest
1343 ./ButtonPropertiesTest $(abs_mediadir)
1344 ButtonPropertiesTestRunner_SOURCES = \
1345 ButtonPropertiesTestRunner.cpp \
1347 ButtonPropertiesTestRunner_LDADD = \
1348 $(top_builddir)/testsuite/libtestsuite.la \
1351 ButtonPropertiesTestRunner_DEPENDENCIES = \
1352 $(top_builddir)/testsuite/libtestsuite.la \
1353 ButtonPropertiesTest.swf \
1355 ButtonPropertiesTestRunner_CXXFLAGS = \
1356 -DTGTDIR='"$(abs_builddir)"' \
1359 InitActionTest2_SOURCES = \
1362 InitActionTest2_LDADD = libgnashmingutils.la
1364 InitActionTest2.swf: InitActionTest2
1365 ./InitActionTest2 $(abs_mediadir)
1367 InitActionTest2Runner: $(srcdir)/../generic-testrunner.sh InitActionTest2.swf
1368 sh $(srcdir)/../generic-testrunner.sh $(top_builddir) InitActionTest2.swf > $@
1371 RegisterClassTest3_SOURCES = \
1372 RegisterClassTest3.c \
1374 RegisterClassTest3_LDADD = libgnashmingutils.la
1376 RegisterClassTest3.swf: RegisterClassTest3
1377 ./RegisterClassTest3 $(abs_mediadir)
1379 RegisterClassTest3Runner: $(srcdir)/../generic-testrunner.sh RegisterClassTest3.swf
1380 sh $(srcdir)/../generic-testrunner.sh $(top_builddir) RegisterClassTest3.swf > $@
1383 RegisterClassTest4_SOURCES = \
1384 RegisterClassTest4.c \
1386 RegisterClassTest4_LDADD = libgnashmingutils.la
1388 RegisterClassTest4.swf: RegisterClassTest4
1389 ./RegisterClassTest4 $(abs_mediadir)
1391 RegisterClassTest4Runner: $(srcdir)/../generic-testrunner.sh RegisterClassTest4.swf
1392 sh $(srcdir)/../generic-testrunner.sh $(top_builddir) RegisterClassTest4.swf > $@
1395 init_action_test_SOURCES = \
1396 init_action_test.c \
1398 init_action_test_LDADD = libgnashmingutils.la
1400 init_action_test.swf: init_action_test
1401 ./init_action_test $(abs_mediadir)
1403 init_action_testrunner: $(srcdir)/../generic-testrunner.sh init_action_test.swf
1404 sh $(srcdir)/../generic-testrunner.sh $(top_builddir) init_action_test.swf > $@
1407 intervalTest.swf: $(srcdir)/../media/green.swf Dejagnu.swf intervalTest.as
1408 $(MAKESWF) -o $@ Dejagnu.swf $(srcdir)/intervalTest.as
1409 intervalTestRunner_SOURCES = \
1410 intervalTestRunner.cpp \
1412 intervalTestRunner_CXXFLAGS = \
1413 -DSRCDIR='"$(srcdir)"' \
1414 -DTGTDIR='"$(abs_builddir)"' \
1416 intervalTestRunner_LDADD = \
1417 $(top_builddir)/testsuite/libtestsuite.la \
1420 intervalTestRunner_DEPENDENCIES = \
1421 $(top_builddir)/testsuite/libtestsuite.la \
1425 gotoFrame2Test.swf: $(srcdir)/../media/green.swf Dejagnu.swf gotoFrame2Test.as
1426 $(MAKESWF) -o $@ -iDejagnu.swf:dejagnu $(srcdir)/../actionscript.all/dejagnu_so_init.as \
1427 $(srcdir)/gotoFrame2Test.as
1429 gotoFrame2Test-Runner: $(srcdir)/../generic-testrunner.sh gotoFrame2Test.swf
1430 sh $(srcdir)/../generic-testrunner.sh $(top_builddir) gotoFrame2Test.swf > $@
1433 LC-Receive.swf: LC-Receive.as
1434 $(MAKESWF) -v 8 -r 1 -o $@ $(srcdir)/empty.as $(srcdir)/LC-Receive.as
1436 LC-Send.swf: LC-Send.as
1437 $(MAKESWF) -v 8 -r 1 -o $@ $(srcdir)/empty.as $(srcdir)/LC-Send.as
1439 LCTestRunner: $(srcdir)/../simultaneous-testrunner.sh LC-Receive.swf LC-Send.swf
1440 sh $(srcdir)/../simultaneous-testrunner.sh -c "ENDOFTEST" $(top_builddir) LC-Receive.swf LC-Send.swf > $@
1443 XMLSocketTest.swf: XMLSocketTest.as
1444 $(MAKESWF) -r 1 -o $@ $(srcdir)/empty.as $(srcdir)/XMLSocketTest.as
1446 XMLSocketTester: XMLSocketTester.sh XMLSocketTest.swf
1447 sh $(srcdir)/XMLSocketTester.sh -c "ENDOFTEST" $(top_builddir) $(top_srcdir) $(PERL) \
1448 XMLSocketTest.swf > $@
1451 GradientFillTest.swf: GradientFillTest.as
1452 $(MAKESWF) -v 8 -r 1 -o $@ $(srcdir)/empty.as $(srcdir)/GradientFillTest.as
1454 GradientFillTestRunner: $(srcdir)/../generic-testrunner.sh GradientFillTest.swf
1455 sh $(srcdir)/../generic-testrunner.sh $(top_builddir) GradientFillTest.swf > $@
1458 DrawingApiTest.swf: DrawingApiTest.as
1459 $(MAKESWF) -r 1 -o $@ $(srcdir)/empty.as $(srcdir)/DrawingApiTest.as
1461 DrawingApiTestRunner_SOURCES = \
1462 DrawingApiTestRunner.cpp \
1464 DrawingApiTestRunner_CXXFLAGS = \
1465 -DSRCDIR='"$(srcdir)"' \
1466 -DTGTDIR='"$(abs_builddir)"' \
1468 DrawingApiTestRunner_LDADD = \
1469 $(top_builddir)/testsuite/libtestsuite.la \
1472 DrawingApiTestRunner_DEPENDENCIES = \
1473 $(top_builddir)/testsuite/libtestsuite.la \
1474 DrawingApiTest.swf \
1477 PrototypeEventListeners.swf: PrototypeEventListeners.as Dejagnu.swf Makefile ../actionscript.all/check.as ../actionscript.all/utils.as
1478 $(MAKESWF) -r12 -o $@ -v6 -DUSE_DEJAGNU_MODULE -DOUTPUT_VERSION=6 Dejagnu.swf $(srcdir)/PrototypeEventListeners.as
1480 PrototypeEventListenersTestRunner_SOURCES = \
1481 PrototypeEventListenersTestRunner.cpp \
1483 PrototypeEventListenersTestRunner_CXXFLAGS = \
1484 -DSRCDIR='"$(srcdir)"' \
1485 -DTGTDIR='"$(abs_builddir)"' \
1487 PrototypeEventListenersTestRunner_LDADD = \
1488 $(top_builddir)/testsuite/libtestsuite.la \
1491 PrototypeEventListenersTestRunner_DEPENDENCIES = \
1492 $(top_builddir)/testsuite/libtestsuite.la \
1493 PrototypeEventListeners.swf \
1496 remoting.swf: remoting.as Dejagnu.swf Makefile ../actionscript.all/check.as ../actionscript.all/utils.as
1497 $(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
1499 remotingTestRunner: $(srcdir)/../generic-testrunner.sh remoting.swf
1500 sh $(srcdir)/../generic-testrunner.sh $(top_builddir) remoting.swf > $@
1503 red5test.swf: red5test.as Dejagnu.swf Makefile ../actionscript.all/check.as ../actionscript.all/utils.as
1504 $(MAKESWF) -n network -r12 -o $@ -v7 -DRED5_HOST='\"$(RED5_HOST)\"' \
1505 -DUSE_DEJAGNU_MODULE -DOUTPUT_VERSION=7 Dejagnu.swf $(srcdir)/red5test.as \
1506 $(srcdir)/../actionscript.all/dejagnu_so_fini.as
1508 red5test-runner: $(srcdir)/../generic-testrunner.sh red5test.swf
1509 sh $(srcdir)/../generic-testrunner.sh -c "ENDOFTEST" $(top_builddir) red5test.swf > $@
1512 rtmpytest.swf: rtmpytest.as Dejagnu.swf Makefile ../actionscript.all/check.as ../actionscript.all/utils.as
1513 $(MAKESWF) -n network -r12 -o $@ -v7 -DRTMPY_HOST='\"$(RTMPY_HOST)\"' \
1514 -DUSE_DEJAGNU_MODULE -DOUTPUT_VERSION=7 Dejagnu.swf $(srcdir)/rtmpytest.as \
1515 $(srcdir)/../actionscript.all/dejagnu_so_fini.as
1517 rtmpytest-runner: $(srcdir)/../generic-testrunner.sh rtmpytest.swf
1518 sh $(srcdir)/../generic-testrunner.sh -c "ENDOFTEST" $(top_builddir) rtmpytest.swf > $@
1521 case6.swf: case6.as Makefile ../actionscript.all/check.as
1522 $(MAKESWF) -v6 -o $@ -DUSE_DEJAGNU_MODULE -DOUTPUT_VERSION=6 -I$(srcdir)/../actionscript.all $(srcdir)/case6.as
1524 case7.swf: case7.as Makefile ../actionscript.all/check.as
1525 $(MAKESWF) -v7 -o $@ -DUSE_DEJAGNU_MODULE -DOUTPUT_VERSION=7 -I$(srcdir)/../actionscript.all $(srcdir)/case7.as
1527 caseTestRunner: $(srcdir)/../generic-testrunner.sh case6.swf case7.swf Makefile
1528 sh $(srcdir)/../generic-testrunner.sh -f10 -r10 -c '#total' $(top_builddir) case6.swf case7.swf > $@
1531 DragDropTest.swf: DragDropTest.as Dejagnu.swf DragDropTestLoaded.swf Makefile ../actionscript.all/check.as ../actionscript.all/utils.as
1532 $(MAKESWF) -r12 -o $@ -v6 -DUSE_DEJAGNU_MODULE -DOUTPUT_VERSION=6 Dejagnu.swf $(srcdir)/DragDropTest.as
1534 DragDropTestLoaded.swf: DragDropTest.as Makefile ../actionscript.all/check.as ../actionscript.all/utils.as
1535 $(MAKESWF) -r12 -o $@ -v6 -DUSE_DEJAGNU_MODULE -DOUTPUT_VERSION=6 -DLOADED_VERSION $(srcdir)/DragDropTest.as
1537 DragDropTestRunner_SOURCES = \
1538 DragDropTestRunner.cpp \
1540 DragDropTestRunner_CXXFLAGS = \
1541 -DSRCDIR='"$(srcdir)"' \
1542 -DTGTDIR='"$(abs_builddir)"' \
1544 DragDropTestRunner_LDADD = \
1545 $(top_builddir)/testsuite/libtestsuite.la \
1548 DragDropTestRunner_DEPENDENCIES = \
1549 $(top_builddir)/testsuite/libtestsuite.la \
1554 static_vs_dynamic1_SOURCES = \
1555 static_vs_dynamic1.c \
1558 static_vs_dynamic1_LDADD = libgnashmingutils.la
1560 static_vs_dynamic1.swf: static_vs_dynamic1
1561 ./static_vs_dynamic1 $(srcdir)/../media
1563 static_vs_dynamic1_testrunner: $(srcdir)/../generic-testrunner.sh static_vs_dynamic1.swf
1564 sh $(srcdir)/../generic-testrunner.sh $(top_builddir) static_vs_dynamic1.swf > $@
1567 static_vs_dynamic2_SOURCES = \
1568 static_vs_dynamic2.c \
1571 static_vs_dynamic2_LDADD = libgnashmingutils.la
1573 static_vs_dynamic2.swf: static_vs_dynamic2
1574 ./static_vs_dynamic2 $(srcdir)/../media
1576 static_vs_dynamic2_testrunner: $(srcdir)/../generic-testrunner.sh static_vs_dynamic2.swf
1577 sh $(srcdir)/../generic-testrunner.sh $(top_builddir) static_vs_dynamic2.swf > $@
1581 getTimer_test_SOURCES = \
1585 getTimer_test_LDADD = libgnashmingutils.la
1587 getTimer_test.swf: getTimer_test
1588 ./getTimer_test $(srcdir)/../media
1590 getTimer_testrunner: $(srcdir)/../generic-testrunner.sh getTimer_test.swf
1591 sh $(srcdir)/../generic-testrunner.sh $(top_builddir) getTimer_test.swf > $@
1594 NetStream_SquareTest_SOURCES = \
1595 NetStream-SquareTest.c \
1598 NetStream_SquareTest_LDADD = libgnashmingutils.la
1600 NetStream-SquareTest.swf: NetStream-SquareTest
1601 ./NetStream-SquareTest $(abs_mediadir)
1603 NetStream_SquareTestRunner_SOURCES = \
1604 NetStream-SquareTestRunner.cpp \
1607 NetStream_SquareTestRunner_CXXFLAGS = \
1608 -DSRCDIR='"$(srcdir)"' \
1609 -DTGTDIR='"$(abs_builddir)"' \
1610 -DMEDIADIR='"$(abs_mediadir)"' \
1613 NetStream_SquareTestRunner_LDADD = \
1614 $(top_builddir)/testsuite/libtestsuite.la \
1618 NetStream_SquareTestRunner_DEPENDENCIES = \
1619 $(top_builddir)/testsuite/libtestsuite.la \
1620 NetStream-SquareTest.swf \
1623 Video_EmbedSquareTest_SOURCES = \
1624 Video-EmbedSquareTest.c \
1627 Video_EmbedSquareTest_LDADD = libgnashmingutils.la
1629 Video-EmbedSquareTest.swf: Video-EmbedSquareTest $(srcdir)/../media/square.flv
1630 ./Video-EmbedSquareTest $(srcdir)/../media
1632 Video_EmbedSquareTestRunner_SOURCES = \
1633 Video-EmbedSquareTestRunner.cpp \
1636 Video_EmbedSquareTestRunner_CXXFLAGS = \
1637 -DSRCDIR='"$(srcdir)"' \
1638 -DTGTDIR='"$(abs_builddir)"' \
1641 Video_EmbedSquareTestRunner_LDADD = \
1642 $(top_builddir)/testsuite/libtestsuite.la \
1646 Video_EmbedSquareTestRunner_DEPENDENCIES = \
1647 $(top_builddir)/testsuite/libtestsuite.la \
1648 Video-EmbedSquareTest.swf \
1651 instanceNameTest_SOURCES = \
1652 instanceNameTest.c \
1654 instanceNameTest_LDADD = libgnashmingutils.la
1656 instanceNameTest.swf: instanceNameTest
1657 ./instanceNameTest $(abs_mediadir)
1659 instanceNameTestRunner: $(srcdir)/../generic-testrunner.sh instanceNameTest.swf
1660 sh $(srcdir)/../generic-testrunner.sh $(top_builddir) instanceNameTest.swf > $@
1666 Dejagnu_LDADD = libgnashmingutils.la
1668 Dejagnu.swf: Dejagnu
1669 ./Dejagnu $(abs_mediadir)
1672 -rm *.swf media *.pp *unner
1674 TEST_DRIVERS = ../simple.exp
1676 GradientFillTestRunner \
1677 BeginBitmapFillRunner \
1678 BitmapDataTestRunner \
1679 BitmapDataDrawRunner \
1680 DeviceFontTestRunner \
1681 EmbeddedFontTestRunner \
1682 DefineEditTextVariableNameTest-Runner \
1683 DefineEditTextVariableNameTest2-Runner \
1684 DefineTextTest-Runner \
1685 DefineEditTextTest-Runner \
1686 RollOverOutTest-Runner \
1687 SpriteButtonEventsTest-Runner \
1688 ResolveEventsTest-Runner \
1689 timeline_var_test-Runner \
1690 root_stop_testrunner \
1691 place_object_testrunner \
1692 place_object_test2runner \
1693 move_object_testrunner \
1694 place_and_remove_object_testrunner \
1695 place_and_remove_object_insane_testrunner \
1696 unload_movieclip_test1runner \
1697 attachMovieTestRunner \
1698 attachMovieLoopingTestRunner \
1699 goto_frame_testrunner \
1700 consecutive_goto_frame_testrunner \
1701 multi_doactions_and_goto_frame_testrunner \
1702 registerClassTestRunner \
1705 DrawingApiTestRunner \
1706 TextSnapshotTest-Runner \
1707 reverse_execute_PlaceObject2_test1runner \
1708 reverse_execute_PlaceObject2_test2runner \
1709 DepthLimitsTestrunner \
1711 frame_label_testrunner \
1712 path_format_testrunner \
1713 callFunction_testrunner \
1714 duplicate_movie_clip_testrunner \
1715 duplicate_movie_clip_test2runner \
1716 event_handler_scope_testrunner \
1719 key_event_testrunner \
1720 static_vs_dynamic1_testrunner \
1721 static_vs_dynamic2_testrunner \
1722 getTimer_testrunner \
1723 Video-EmbedSquareTestRunner \
1724 NetStream-SquareTestRunner \
1727 runtime_vm_stack_testrunner \
1728 instanceNameTestRunner \
1731 if MING_VERSION_0_4_3
1733 EmbeddedSoundTest-Runner \
1734 eventSoundTest1-Runner \
1740 opcode_guard_testrunner \
1741 get_frame_number_testrunner
1744 if MAKESWF_SUPPORTS_PREBUILT_CLIPS
1745 TEST_CASES += VarAndCharClashTest-Runner \
1746 PrototypeEventListenersTestRunner \
1747 DragDropTestRunner \
1748 FlashVarsTest-Runner \
1749 SharedObjectTestRunner \
1750 intervalTestRunner \
1751 gotoFrame2Test-Runner \
1752 attachImported-Runner \
1753 attachExtImported-Runner
1756 if MAKESWF_SUPPORTS_PREBUILT_CLIPS
1757 if ENABLE_HTTP_TESTSUITE
1758 TEST_CASES += remotingTestRunner
1760 if ENABLE_RED5_TESTING
1761 TEST_CASES += red5test-runner
1763 if ENABLE_RTMPY_TESTING
1764 TEST_CASES += rtmpytest-runner
1768 if MING_SUPPORTS_INIT_ACTIONS
1770 registerClassTest2runner \
1771 init_action_testrunner \
1772 InitActionTest2Runner \
1773 RegisterClassTest3Runner \
1774 RegisterClassTest4Runner \
1778 if MING_SUPPORTS_REPLACE_TAG
1780 PlaceObject2TestRunner \
1781 replace_shapes1test_runner \
1782 replace_sprites1test_runner \
1783 replace_buttons1test_runner \
1787 if MING_SUPPORTS_SWFBUTTON_SET_DEPTH
1789 ButtonPropertiesTestRunner \
1790 ButtonEventsTest-Runner \
1791 KeyEventOrderRunner \
1795 TEST_ENV = GNASH_GC_TRIGGER_THRESHOLD=0
1796 TEST_ENV += GNASHRC=../gnashrc
1797 TEST_ENV += GST_INSTALL_PLUGINS_HELPER=$(top_srcdir)/testsuite/gst_install_plugins_helper.sh
1800 check-DEJAGNU: site-update $(check_PROGRAMS)
1801 runtest=$(RUNTEST); \
1802 if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
1803 $(TEST_ENV) $$runtest $(RUNTESTFLAGS) $(TEST_DRIVERS); true; \
1805 echo "WARNING: could not find \`runtest'" 1>&2; \
1806 for i in "$(TEST_CASES)"; do \
1807 $(TEST_ENV) $(SHELL) $$i; \
1811 site-update: site.exp
1812 @rm -fr site.exp.bak
1813 @cp site.exp site.exp.bak
1814 @sed -e '/testcases/d' site.exp.bak > site.exp
1815 @echo "# This is a list of the pre-compiled testcases" >> site.exp
1816 @echo "set testcases \"$(TEST_CASES)\"" >> site.exp