[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/Makefil...
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/Makefil... |
Date: |
Wed, 13 Dec 2006 00:10:23 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 06/12/13 00:10:23
Modified files:
. : ChangeLog
testsuite/misc-ming.all: Makefile.am
Added files:
testsuite/misc-ming.all: VarAndCharClashTest.as
Log message:
* testsuite/misc-ming.all/: Makefile.am, VarAndCharClashTest.as:
Code and Makefile rule generating a self-contained testcase
for
variables and characters name clashes (failing in Gnash).
Note how powerful 'makeswf' is :D
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.1923&r2=1.1924
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/Makefile.am?cvsroot=gnash&r1=1.37&r2=1.38
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/VarAndCharClashTest.as?cvsroot=gnash&rev=1.1
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.1923
retrieving revision 1.1924
diff -u -b -r1.1923 -r1.1924
--- ChangeLog 12 Dec 2006 22:41:05 -0000 1.1923
+++ ChangeLog 13 Dec 2006 00:10:23 -0000 1.1924
@@ -1,5 +1,12 @@
2006-12-12 Sandro Santilli <address@hidden>
+ * testsuite/misc-ming.all/: Makefile.am, VarAndCharClashTest.as:
+ Code and Makefile rule generating a self-contained testcase for
+ variables and characters name clashes (failing in Gnash).
+ Note how powerful 'makeswf' is :D
+
+2006-12-12 Sandro Santilli <address@hidden>
+
* server/: button_character_instance.cpp, sprite_instance.cpp:
introduce button actions execution IF_VERBOSE_ACTION; include
total frame count in sprite's frame action executions.
Index: testsuite/misc-ming.all/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/Makefile.am,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -b -r1.37 -r1.38
--- testsuite/misc-ming.all/Makefile.am 8 Dec 2006 12:01:53 -0000 1.37
+++ testsuite/misc-ming.all/Makefile.am 13 Dec 2006 00:10:23 -0000 1.38
@@ -29,6 +29,8 @@
testrun.sum \
testrun.log
+EXTRA_DIST = VarAndCharClashTest.as
+
AM_CPPFLAGS = -I.. \
-I$(top_srcdir) \
@@ -55,7 +57,9 @@
RollOverOutTest \
ButtonEventsTest \
PlaceObject2Test \
- RemoveObject2Test
+ RemoveObject2Test \
+ VarAndCharClashTest-Runner \
+ $(NULL)
# TESTS = \
# DefineEditTextVariableNameTest-Runner
@@ -168,6 +172,13 @@
ButtonEventsTest.swf \
$(NULL)
+# This will only work with Ming-0.4.0beta2 (support for prebuilt clips
inclusion)
+VarAndCharClashTest.swf: $(srcdir)/../media/green.swf ../Dejagnu.swf
$(srcdir)/VarAndCharClashTest.as
+ $(MAKESWF) -o $@ ../Dejagnu.swf $(srcdir)/../media/green.swf
$(srcdir)/VarAndCharClashTest.as
+VarAndCharClashTest-Runner: $(srcdir)/../generic-testrunner.sh
VarAndCharClashTest.swf
+ sh $< $(top_builddir) VarAndCharClashTest.swf > $@
+ chmod 755 $@
+
Dejagnu_SOURCES = \
Dejagnu.c \
ming_utils.h \
Index: testsuite/misc-ming.all/VarAndCharClashTest.as
===================================================================
RCS file: testsuite/misc-ming.all/VarAndCharClashTest.as
diff -N testsuite/misc-ming.all/VarAndCharClashTest.as
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ testsuite/misc-ming.all/VarAndCharClashTest.as 13 Dec 2006 00:10:23
-0000 1.1
@@ -0,0 +1,25 @@
+//
+// This ActionScript code is intended to be compiled in the third frame
+// of a movie so composed:
+// frame1) Dejagnu.swf
+// frame2) A bitmap character named 'green'
+//
+// The aim is testing clashes between a variable name
+// and a display list character name
+//
+
+// hide the 'green' character so that Dejagnu.swf xtrace window is visible
+green._visible = false;
+
+// "create" a 'green' variable.
+// The name of this variable will "clash" with the name of the
+// existing character (added in frame2).
+green = 1;
+
+// We expect that getting the 'green' label returns
+// our "variable" rather then the character.
+xcheck_equals(green, 1);
+
+// print totals and stop to avoid infinite loops
+totals();
+stop();
- [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/Makefil...,
Sandro Santilli <=
- [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/Makefil..., Sandro Santilli, 2006/12/15
- [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/Makefil..., Sandro Santilli, 2006/12/18
- [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/Makefil..., Sandro Santilli, 2006/12/18
- [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/Makefil..., Sandro Santilli, 2006/12/21
- [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/Makefil..., Sandro Santilli, 2006/12/22
- [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/Makefil..., Sandro Santilli, 2006/12/26
- [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/Makefil..., Sandro Santilli, 2006/12/27
- [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/Makefil..., Sandro Santilli, 2006/12/30
- [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/Makefil..., Sandro Santilli, 2006/12/30
- [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/Makefil..., Sandro Santilli, 2006/12/31