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/Make...


From: Sandro Santilli
Subject: [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Make...
Date: Fri, 12 Jan 2007 09:25:33 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  07/01/12 09:25:33

Modified files:
        .              : ChangeLog 
        testsuite/actionscript.all: Makefile.am 

Log message:
                * testsuite/actionscript.all/Makefile.am: add 'quickcheck'
                  rule, running *one* gnash process for each version.
                  Currently some tests fail, but that's likely due to
                  persistance of variable set in previous testcases
                  (they are compiled in separate frames of the same movie).

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.2091&r2=1.2092
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Makefile.am?cvsroot=gnash&r1=1.59&r2=1.60

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.2091
retrieving revision 1.2092
diff -u -b -r1.2091 -r1.2092
--- ChangeLog   12 Jan 2007 09:14:37 -0000      1.2091
+++ ChangeLog   12 Jan 2007 09:25:33 -0000      1.2092
@@ -1,5 +1,10 @@
 2007-01-12 Sandro Santilli <address@hidden>
 
+       * testsuite/actionscript.all/Makefile.am: add 'quickcheck'
+         rule, running *one* gnash process for each version.
+         Currently some tests fail, but that's likely due to
+         persistance of variable set in previous testcases
+         (they are compiled in separate frames of the same movie).
        * testsuite/actionscript.all/check.as: include filename
          in test result report (easier to see what goes on, altought
          bigger output).

Index: testsuite/actionscript.all/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Makefile.am,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -b -r1.59 -r1.60
--- testsuite/actionscript.all/Makefile.am      11 Jan 2007 22:53:59 -0000      
1.59
+++ testsuite/actionscript.all/Makefile.am      12 Jan 2007 09:25:33 -0000      
1.60
@@ -16,7 +16,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-# $Id: Makefile.am,v 1.59 2007/01/11 22:53:59 strk Exp $
+# $Id: Makefile.am,v 1.60 2007/01/12 09:25:33 strk Exp $
 
 AUTOMAKE_OPTIONS = dejagnu
 
@@ -34,6 +34,13 @@
        astests-v7-Runner \
        astests-v8-Runner
        
+quickcheckdir = .
+quickcheck_SCRIPTS = \
+       alltests-v5-Runner \
+       alltests-v6-Runner \
+       alltests-v7-Runner \
+       alltests-v8-Runner
+       
 
 # We don't need  --tool anymore
 #RUNTESTDEFAULTFLAGS = swf_exists.exp
@@ -278,6 +285,26 @@
        sh $< $(top_builddir) $(ASTESTS_V8_OUT) > $@
        chmod 755 $@
 
+# This version runs all testcases in a single SWF targetted at player 5
+alltests-v5-Runner: $(srcdir)/../generic-testrunner.sh alltests-v5.swf
+       sh $< $(top_builddir) alltests-v5.swf > $@
+       chmod 755 $@
+
+# This version runs all testcases in a single SWF targetted at player 6
+alltests-v6-Runner: $(srcdir)/../generic-testrunner.sh alltests-v6.swf
+       sh $< $(top_builddir) alltests-v6.swf > $@
+       chmod 755 $@
+
+# This version runs all testcases in a single SWF targetted at player 7
+alltests-v7-Runner: $(srcdir)/../generic-testrunner.sh alltests-v7.swf
+       sh $< $(top_builddir) alltests-v7.swf > $@
+       chmod 755 $@
+
+# This version runs all testcases in a single SWF targetted at player 8
+alltests-v8-Runner: $(srcdir)/../generic-testrunner.sh alltests-v8.swf
+       sh $< $(top_builddir) alltests-v8.swf > $@
+       chmod 755 $@
+
 $(ASTESTS_V5_OUT) : $(ASTESTS)
        @$(MAKE) ${@:-v5.swf=.swf} SWFVERSION="5"
        @mv ${@:-v5.swf=.swf} $@
@@ -315,6 +342,24 @@
          done; \
        fi
 
+quickcheck: quicksite-update $(quickcheck_SCRIPTS)
+       @runtest=$(RUNTEST); \
+       if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
+           $$runtest $(RUNTESTFLAGS) $(TEST_DRIVERS); \
+       else \
+         echo "WARNING: could not find \`runtest'" 1>&2; \
+          for i in "$(quickcheck_SCRIPTS)"; do \
+           $(SHELL) $$i; \
+         done; \
+       fi
+
+quicksite-update: site.exp
+       @rm -fr site.exp.bak
+       @cp site.exp site.exp.bak
+       @sed -e '/testcases/d' site.exp.bak > site.exp
+       @echo "# This is a list of the pre-compiled testcases" >> site.exp
+       @echo "set testcases \"$(quickcheck_SCRIPTS)\"" >> site.exp
+
 site-update: site.exp
        @rm -fr site.exp.bak
        @cp site.exp site.exp.bak




reply via email to

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