gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash ChangeLog testsuite/swfdec/README testsui...


From: Sandro Santilli
Subject: [Gnash-commit] gnash ChangeLog testsuite/swfdec/README testsui...
Date: Sat, 16 Feb 2008 07:35:14 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  08/02/16 07:35:14

Modified files:
        .              : ChangeLog 
        testsuite/swfdec: README gen_run_swfdec_testsuite.sh 
                          swfdec_gnash_tester 
Added files:
        testsuite/swfdec: REALTIME 

Log message:
        Add support for running certain swfdec's testcases at nominal FPS speed,
        to make test results more stable.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.5666&r2=1.5667
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/swfdec/README?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/swfdec/gen_run_swfdec_testsuite.sh?cvsroot=gnash&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/swfdec/swfdec_gnash_tester?cvsroot=gnash&r1=1.13&r2=1.14
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/swfdec/REALTIME?cvsroot=gnash&rev=1.1

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.5666
retrieving revision 1.5667
diff -u -b -r1.5666 -r1.5667
--- ChangeLog   15 Feb 2008 21:07:19 -0000      1.5666
+++ ChangeLog   16 Feb 2008 07:35:13 -0000      1.5667
@@ -1,3 +1,10 @@
+2008-02-16 Sandro Santilli <address@hidden>
+
+       * testsuite/swfdec/: README, REALTIME,
+         gen_run_swfdec_testsuite.sh, swfdec_gnash_tester:
+         Add support for running certain testcases at
+         nominal FPS speed, to make test results more stable.
+
 2008-02-15 Sandro Santilli <address@hidden>
 
        * libbase/URL.cpp: rewrite parse_querystring using

Index: testsuite/swfdec/README
===================================================================
RCS file: /sources/gnash/gnash/testsuite/swfdec/README,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- testsuite/swfdec/README     24 Oct 2007 19:34:45 -0000      1.3
+++ testsuite/swfdec/README     16 Feb 2008 07:35:13 -0000      1.4
@@ -8,6 +8,10 @@
 If you see an unexpected success you can add the name and md5 of the file to 
PASSING.
 Please keep the file sorted by name.
 
+The REALTIME file is a list of SWF files that load external resources. 
+These files are run with the nominal FPS to give the loading threads
+more chances to load the resource within the expected frame number.
+
 You'll need to pass the --with-swfdec-testsuite switch to configure in order
 for swfdec tests to be run as part of the 'make check' rule.
 

Index: testsuite/swfdec/gen_run_swfdec_testsuite.sh
===================================================================
RCS file: /sources/gnash/gnash/testsuite/swfdec/gen_run_swfdec_testsuite.sh,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- testsuite/swfdec/gen_run_swfdec_testsuite.sh        9 Jan 2008 00:41:14 
-0000       1.11
+++ testsuite/swfdec/gen_run_swfdec_testsuite.sh        16 Feb 2008 07:35:14 
-0000      1.12
@@ -46,6 +46,7 @@
 export GNASHRC=${GNASHRC}
 export GPROCESSOR=${GPROCESSOR}
 EXPECTPASS=${SRCDIR}/PASSING
+REALTIME=${SRCDIR}/REALTIME
 
 for test in \`ls ${SWFDECTRACEDIR}/[$STARTPATTERN]*.swf\`; do
        testname=\`basename \${test}\`
@@ -62,8 +63,12 @@
        if grep -q "^\${testid}\$" \${EXPECTPASS}; then
                expectpass="yes"
        fi
+       flags=
+       if grep -q "^\${testname}\$" \${REALTIME}; then
+               flags="-d -1"
+       fi
        echo "NOTE: running \${testname} (expect pass: \${expectpass})"
-       if ${SWFDEC_GNASH_TESTER} \${test} > \${testname}.log; then
+       if ${SWFDEC_GNASH_TESTER} \${test} ${flags} > \${testname}.log; then
                if [ "\${expectpass}" = "yes" ]; then
                        echo "PASSED: \${testid}"
                else

Index: testsuite/swfdec/swfdec_gnash_tester
===================================================================
RCS file: /sources/gnash/gnash/testsuite/swfdec/swfdec_gnash_tester,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- testsuite/swfdec/swfdec_gnash_tester        15 Feb 2008 08:31:04 -0000      
1.13
+++ testsuite/swfdec/swfdec_gnash_tester        16 Feb 2008 07:35:14 -0000      
1.14
@@ -16,12 +16,10 @@
        exit 1
 fi
 
-if [ -n "$2" ]; then
-       FLAGS="$FLAGS $2"
-fi
-
 
 in="$1"
+shift
+FLAGS="$FLAGS $@"
 out=`basename "${in}"`.trace-gnash
 use_orig=0
 exp="${in}.trace"

Index: testsuite/swfdec/REALTIME
===================================================================
RCS file: testsuite/swfdec/REALTIME
diff -N testsuite/swfdec/REALTIME
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ testsuite/swfdec/REALTIME   16 Feb 2008 07:35:14 -0000      1.1
@@ -0,0 +1,4 @@
+loadvariables-5.swf
+loadvariables-6.swf
+loadvariables-7.swf
+




reply via email to

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