gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash ChangeLog testsuite/actionscript.all/swf_...


From: Sandro Santilli
Subject: [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/swf_...
Date: Thu, 05 Oct 2006 13:56:50 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  06/10/05 13:56:50

Modified files:
        .              : ChangeLog 
        testsuite/actionscript.all: swf_exists.exp 

Log message:
        * testsuite/actionscript.all/swf_exists.exp: build and run each test 
with SWF target versions 5 to 8.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.1037&r2=1.1038
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/swf_exists.exp?cvsroot=gnash&r1=1.8&r2=1.9

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.1037
retrieving revision 1.1038
diff -u -b -r1.1037 -r1.1038
--- ChangeLog   5 Oct 2006 13:42:32 -0000       1.1037
+++ ChangeLog   5 Oct 2006 13:56:50 -0000       1.1038
@@ -1,5 +1,10 @@
 2006-10-05 Sandro Santilli <address@hidden>
 
+       * testsuite/actionscript.all/swf_exists.exp: build and run
+         each test with SWF target versions 5 to 8.
+
+2006-10-05 Sandro Santilli <address@hidden>
+
        * testsuite/actionscript.all/swf_exists.exp: allow inclusion
          of non-text chars in messages (needed to also print line
          number of tests).

Index: testsuite/actionscript.all/swf_exists.exp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/swf_exists.exp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- testsuite/actionscript.all/swf_exists.exp   5 Oct 2006 13:47:49 -0000       
1.8
+++ testsuite/actionscript.all/swf_exists.exp   5 Oct 2006 13:56:50 -0000       
1.9
@@ -16,7 +16,12 @@
 set params "-v "
 
 foreach file [glob ${srcdir}/*.as] {
-    exec makeswf ${file}
+foreach swfversion [list 5 6 7 8] {
+
+    # some tests might do different things when built for different
+    # SWF target versions.
+    exec makeswf -DOUTPUT_VERSION=${swfversion} -v${swfversion} ${file}
+
     # ready for Ming-0.4 naming of .pp file
     #exec rm -f ${file}.pp ${file}.swf.frame0.pp
     if [info exists file] {
@@ -32,7 +37,7 @@
        return "No source file found"
     }
 
-    set testid [ file tail ${file} ]
+    set testid "SWF${swfversion} [ file tail ${file} ]"
 
     # spawn the executable and look for the DejaGnu output messages from the
     # test case.
@@ -103,5 +108,6 @@
     # force a close of the executable to be safe.
     catch close
 }
+}
 
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]