[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog testsuite/misc-mtasc.all/Makefi...
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog testsuite/misc-mtasc.all/Makefi... |
Date: |
Tue, 13 Feb 2007 09:57:38 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 07/02/13 09:57:37
Modified files:
. : ChangeLog
testsuite/misc-mtasc.all: Makefile.am hello.as
Log message:
* testsuite/misc-mtasc.all/: Makefile.am, hello.as:
Generalized Makefile, stuff Dejagnu.swf in first frame
and dejagnu_so_fini.as in last frame using 'makeswf'.
Ready to start with mtasc tests.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.2335&r2=1.2336
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-mtasc.all/Makefile.am?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-mtasc.all/hello.as?cvsroot=gnash&r1=1.1&r2=1.2
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.2335
retrieving revision 1.2336
diff -u -b -r1.2335 -r1.2336
--- ChangeLog 13 Feb 2007 09:27:33 -0000 1.2335
+++ ChangeLog 13 Feb 2007 09:57:37 -0000 1.2336
@@ -1,3 +1,10 @@
+2007-02-13 Sandro Santilli <address@hidden>
+
+ * testsuite/misc-mtasc.all/: Makefile.am, hello.as:
+ Generalized Makefile, stuff Dejagnu.swf in first frame
+ and dejagnu_so_fini.as in last frame using 'makeswf'.
+ Ready to start with mtasc tests.
+
2007-02-13 Udo Giacomozzi <address@hidden>
* gui/gui.cpp: Make full redraw on ENABLE_REGION_UPDATES_DEBUGGING
Index: testsuite/misc-mtasc.all/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-mtasc.all/Makefile.am,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- testsuite/misc-mtasc.all/Makefile.am 12 Feb 2007 23:49:10 -0000
1.1
+++ testsuite/misc-mtasc.all/Makefile.am 13 Feb 2007 09:57:37 -0000
1.2
@@ -1,11 +1,38 @@
+## Process this fill with automake to generate Makefile.in
+#
+# Copyright (C) 2007 Free Software Foundation, Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-# these need some autoconf work...
-CLASSPATH=/extra/mtasc/std
-MTASC = mtasc
+if ENABLE_MTASC
+if ENABLE_MING
-MTASC_FLAGS= -cp $(MTASC_CLASSPATH)
+DEJAGNU_SO_PATH = ../Dejagnu.swf
+DEJAGNU_SO_FINI = $(srcdir)/../actionscript.all/dejagnu_so_fini.as
+MTASC_FLAGS= -cp $(MTASC_CLASSPATH) -cp $(srcdir) -v -header 800:600:20
-hello.swf: hello.as
- $(MTASC) $(MTASC_FLAGS) -swf $@ -main -header 800:600:20 $<
+ASTESTS = \
+ hello.as \
+ $(NULL)
-CLEANFILES = hello.swf
+
+.as.swf:
+ $(MTASC) $(MTASC_FLAGS) -swf mtasc-$@ -main $<
+ $(MAKESWF) -o $@ $(DEJAGNU_SO_PATH) mtasc-$@ $(DEJAGNU_SO_FINI)
+
+CLEANFILES = *.swf
+
+endif
+endif
Index: testsuite/misc-mtasc.all/hello.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-mtasc.all/hello.as,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- testsuite/misc-mtasc.all/hello.as 12 Feb 2007 23:49:10 -0000 1.1
+++ testsuite/misc-mtasc.all/hello.as 13 Feb 2007 09:57:37 -0000 1.2
@@ -3,7 +3,13 @@
static function main(mc)
{
- trace("Hello world");
+ var a = 1;
+
+ // This is how you call check_equals
+ _root.check_equals(a, 1);
+
+ // This is how you print notes (trace + visual trace)
+ _root.note("Hello world");
}
}
- [Gnash-commit] gnash ChangeLog testsuite/misc-mtasc.all/Makefi...,
Sandro Santilli <=