gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash ChangeLog testsuite/libbase/Makefile.am t...


From: Sandro Santilli
Subject: [Gnash-commit] gnash ChangeLog testsuite/libbase/Makefile.am t...
Date: Fri, 01 Dec 2006 16:51:08 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  06/12/01 16:51:08

Modified files:
        .              : ChangeLog 
        testsuite/libbase: Makefile.am 
        testsuite/server: Makefile.am 
Removed files:
        testsuite/actionscript.all: swf_exists.exp 
        testsuite/libbase: libbase.exp 
        testsuite/server: server.exp 

Log message:
                * testsuite/: actionscript.all/swf_exists.exp, 
libbase/libbase.exp,
                  server/server.exp: removed, ../simple.exp is better !
                * testsuite/: libbase/Makefile.am, server/Makefile.am:
                  use ../simple.exp for testing.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.1843&r2=1.1844
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/swf_exists.exp?cvsroot=gnash&r1=1.18&r2=0
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/libbase/Makefile.am?cvsroot=gnash&r1=1.24&r2=1.25
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/libbase/libbase.exp?cvsroot=gnash&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/server/Makefile.am?cvsroot=gnash&r1=1.16&r2=1.17
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/server/server.exp?cvsroot=gnash&r1=1.2&r2=0

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.1843
retrieving revision 1.1844
diff -u -b -r1.1843 -r1.1844
--- ChangeLog   1 Dec 2006 16:43:55 -0000       1.1843
+++ ChangeLog   1 Dec 2006 16:51:08 -0000       1.1844
@@ -1,5 +1,12 @@
 2006-12-01 Sandro Santilli <address@hidden>
 
+       * testsuite/: actionscript.all/swf_exists.exp, libbase/libbase.exp,
+         server/server.exp: removed, ../simple.exp is better !
+       * testsuite/: libbase/Makefile.am, server/Makefile.am:
+         use ../simple.exp for testing.
+
+2006-12-01 Sandro Santilli <address@hidden>
+
        * backend/render_handler_agg.cpp (set_invalidated_region):
          Temporary hack to fix bug #18416, and a way to 
          show Udo a usage case. The real solution is use

Index: testsuite/libbase/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/testsuite/libbase/Makefile.am,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -b -r1.24 -r1.25
--- testsuite/libbase/Makefile.am       24 Nov 2006 22:33:01 -0000      1.24
+++ testsuite/libbase/Makefile.am       1 Dec 2006 16:51:08 -0000       1.25
@@ -73,15 +73,18 @@
 # LogTest_SOURCES = TCXXLog.cpp
 # LogTest_CPPFLAGS = '-DBUILDDIR="$(abs_builddir)"'
 
-TEST_DRIVERS = libbase.exp
+TEST_DRIVERS = ../simple.exp
+TEST_CASES = \
+       $(check_PROGRAMS) \
+       $(NULL)
 
-check-DEJAGNU: site-update $(check_PROGRAMS)
+check-DEJAGNU: site-update $(TEST_CASES)
        @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 "$(check_PROGRAMS)"; do \
+          for i in "$(TEST_CASES)"; do \
            $(SHELL) $$i; \
          done; \
        fi
@@ -91,4 +94,4 @@
        @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 \"$(check_PROGRAMS)\"" >> site.exp
+       @echo "set testcases \"$(TEST_CASES)\"" >> site.exp

Index: testsuite/server/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/testsuite/server/Makefile.am,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- testsuite/server/Makefile.am        1 Dec 2006 15:38:19 -0000       1.16
+++ testsuite/server/Makefile.am        1 Dec 2006 16:51:08 -0000       1.17
@@ -62,18 +62,18 @@
        $(top_builddir)/libbase/libgnashbase.la \
        $(NULL)
 
-TEST_DRIVERS = server.exp
+TEST_DRIVERS = ../simple.exp
 TEST_CASES = \
        $(check_PROGRAMS) \
        $(NULL)
 
-check-DEJAGNU: site-update $(check_PROGRAMS)
+check-DEJAGNU: site-update $(TEST_CASES)
        @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 "$(check_PROGRAMS)"; do \
+          for i in "$(TEST_CASES)"; do \
            $(SHELL) $$i; \
          done; \
        fi
@@ -83,5 +83,5 @@
        @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 \"$(check_PROGRAMS)\"" >> site.exp
+       @echo "set testcases \"$(TEST_CASES)\"" >> site.exp
 

Index: testsuite/actionscript.all/swf_exists.exp
===================================================================
RCS file: testsuite/actionscript.all/swf_exists.exp
diff -N testsuite/actionscript.all/swf_exists.exp
--- testsuite/actionscript.all/swf_exists.exp   3 Nov 2006 14:11:42 -0000       
1.18
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,105 +0,0 @@
-
-load_lib "dejagnu.exp"
-
-
-# If tracing has been enabled at the top level, then turn it on here
-# too.
-if $tracelevel {
-    strace $tracelevel
-}
-
-set timeoutmsg "Timed out: Never got started, "
-set timeout 100
-set file all
-set timetol 0
-set executable "../../gui/gnash"
-set params "-w"
-
-foreach file [glob ${srcdir}/*.as] {
-
-    foreach swfversion [list 5 6 7 ] {
-
-       #verbose "Flash version ${swfversion}"
-       verbose "Running test case [ file tail ${file} ] as SWF${swfversion}"
-
-
-       # some tests might do different things when built for different
-       # SWF target versions.
-
-       # FIXME: check for failures
-       if { [catch {exec makeswf -I${srcdir} -DOUTPUT_VERSION=${swfversion} 
-v${swfversion} ${file}} err] } {
-               perror $err;
-               perror "Please install Ming to run the actionscript testsuite."
-               return -1
-       }
-       
-       # ready for Ming-0.4 naming of .pp file
-       #exec rm -f ${file}.pp ${file}.swf.frame0.pp
-       if [info exists file] {
-           #   puts "$file exists"
-       } else {
-           perror "$file doesn't exist"
-           return -1
-       }
-       
-       #    verbose "The executable is $executable $params ${file}.swf" 2
-       if ![file exists out.swf] {
-           perror "The executable, \"$executable\" is missing" 0
-           return "No source file found"
-       }
-       
-       set testid "SWF${swfversion} [ file tail ${file} ]"
-       
-       # spawn the executable and look for the DejaGnu output messages from the
-       # test case.
-
-       if {[catch {exec -keepnewline -- ./${executable} -1 -r0 -v out.swf} 
out] } {
-               fail "$testid: gprocessor exited with non-zero code"
-               verbose "($out)" 
-               continue
-       } else {
-               set outp $out
-       }
-
-       #set outp [exec -keepnewline -- ./${executable} -v out.swf]
-
-       verbose "Output (before regsub): $outp" 2
-
-       # remove the \r part of "\r\n" so we don't break all the patterns
-       # we want to match.
-       regsub -all -- "\r" $outp "" outp
-
-       verbose "After regsub: $outp" 2
-
-       set lines [split $outp \n]
-
-       foreach line $lines {
-
-               verbose "Parsing line: $line" 2
-
-               if {[regexp " XFAILED: .*" $line]} {
-                       regsub "\[^ \]* PASSED: " $line "" label
-                       xfail "$testid: $label"
-               }
-
-               if {[regexp " FAILED: .*" $line]} {
-                       regsub "\[^ \]* FAILED: " $line "" label
-                       fail "$testid: $label"
-               }
-
-               if {[regexp " XPASSED: .*" $line]} {
-                       regsub "\[^ \]* XPASSED: " $line "" label
-                       xpass "$testid: $label"
-               }
-
-               if {[regexp " PASSED: .*" $line]} {
-                       regsub "\[^ \]* PASSED: " $line "" label
-                       pass "$testid: $label"
-               }
-               
-       }
-
-    }
-}
-
-

Index: testsuite/libbase/libbase.exp
===================================================================
RCS file: testsuite/libbase/libbase.exp
diff -N testsuite/libbase/libbase.exp
--- testsuite/libbase/libbase.exp       12 Oct 2006 19:36:24 -0000      1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,87 +0,0 @@
-
-load_lib "dejagnu.exp"
-
-
-# If tracing has been enabled at the top level, then turn it on here
-# too.
-if $tracelevel {
-    strace $tracelevel
-}
-
-set timeoutmsg "Timed out: Never got started, "
-set timeout 100
-set file all
-set timetol 0
-set params ""
-
-foreach file [glob *Test] {
-    # spawn the executable and look for the DejaGnu output messages from the
-    # test case.
-    spawn -noecho -open [open "|./$file" "r"]
-    expect {
-       -re "\[0-9\]\[0-9\]:..:..:${text}\n" {
-           regsub "\[\n\t\]*NOTE: $text\n" $expect_out(0,string) "" output
-           verbose "$output" 3
-           set timetol 0
-           exp_continue
-       }
-       -re "NOTE:\[^\n]*\n" {
-           regsub "\[\n\t\]*NOTE: " $expect_out(0,string) "" output
-           set output [string range $output 6 end-2]
-           verbose "${file} $output" 2
-           set timetol 0
-           exp_continue
-       }
-       -re "PASSED:\[^\n]*\n" {
-           regsub "\[\n\t\]*PASSED: " $expect_out(0,string) "" output
-           set output [string range $output 0 end-2]
-           pass "${file}: $output"
-           set timetol 0
-           exp_continue
-       }
-       -re "FAILED:\[^\n\]*\n" {
-           regsub "\[\n\t\]*FAILED: " $expect_out(0,string) "" output
-           set output [string range $output 0 end-2] 
-           fail "${file}: $output"
-           set timetol 0
-           exp_continue
-       }
-       -re "UNTESTED:\[^\n]*\n" {
-           regsub "\[\n\t\]*TESTED: " $expect_out(0,string) "" output
-           set output [string range $output 8 end-2]
-           untested "${file}: $output"
-           set timetol 0
-           exp_continue
-       }
-       -re "UNRESOLVED:\[^\n]*\n" {
-           regsub "\[\n\t\]*UNRESOLVED: " $expect_out(0,string) "" output
-           set output [string range $output 8 end-2]
-           unresolved "${file}: $output"
-           set timetol 0
-           exp_continue
-       }
-       -re "Totals" {
-           verbose "All done" 2
-       }
-       eof {
-           #       unresolved "${executable} died prematurely"
-           #       catch close
-           #       return "${executable} died prematurely"
-       }
-       timeout {
-           warning "Timed out executing test case"
-           if { $timetol <= 2 } {
-               incr timetol
-               exp_continue
-           } else {
-               -               catch close
-               return "Timed out executing test case"
-           }
-       }
-   }
-
-    # force a close of the executable to be safe.
-    catch close
-}
-
-

Index: testsuite/server/server.exp
===================================================================
RCS file: testsuite/server/server.exp
diff -N testsuite/server/server.exp
--- testsuite/server/server.exp 12 Oct 2006 23:44:20 -0000      1.2
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,88 +0,0 @@
-
-load_lib "dejagnu.exp"
-
-
-# If tracing has been enabled at the top level, then turn it on here
-# too.
-if $tracelevel {
-    strace $tracelevel
-}
-
-set timeoutmsg "Timed out: Never got started, "
-set timeout 100
-set file all
-set timetol 0
-set params ""
-
-# testcases is set by the Makefile in the site.exp data file.
-foreach file $testcases {
-    # spawn the executable and look for the DejaGnu output messages from the
-    # test case.
-    spawn -noecho -open [open "|./$file" "r"]
-    expect {
-       -re "\[0-9\]\[0-9\]:..:..:${text}\n" {
-           regsub "\[\n\t\]*NOTE: $text\n" $expect_out(0,string) "" output
-           verbose "$output" 3
-           set timetol 0
-           exp_continue
-       }
-       -re "NOTE:\[^\n]*\n" {
-           regsub "\[\n\t\]*NOTE: " $expect_out(0,string) "" output
-           set output [string range $output 6 end-2]
-           verbose "${file} $output" 2
-           set timetol 0
-           exp_continue
-       }
-       -re "PASSED:\[^\n]*\n" {
-           regsub "\[\n\t\]*PASSED: " $expect_out(0,string) "" output
-           set output [string range $output 0 end-2]
-           pass "${file}: $output"
-           set timetol 0
-           exp_continue
-       }
-       -re "FAILED:\[^\n\]*\n" {
-           regsub "\[\n\t\]*FAILED: " $expect_out(0,string) "" output
-           set output [string range $output 0 end-2] 
-           fail "${file}: $output"
-           set timetol 0
-           exp_continue
-       }
-       -re "UNTESTED:\[^\n]*\n" {
-           regsub "\[\n\t\]*TESTED: " $expect_out(0,string) "" output
-           set output [string range $output 8 end-2]
-           untested "${file}: $output"
-           set timetol 0
-           exp_continue
-       }
-       -re "UNRESOLVED:\[^\n]*\n" {
-           regsub "\[\n\t\]*UNRESOLVED: " $expect_out(0,string) "" output
-           set output [string range $output 8 end-2]
-           unresolved "${file}: $output"
-           set timetol 0
-           exp_continue
-       }
-       -re "Totals" {
-           verbose "All done" 2
-       }
-       eof {
-           #       unresolved "${executable} died prematurely"
-           #       catch close
-           #       return "${executable} died prematurely"
-       }
-       timeout {
-           warning "Timed out executing test case"
-           if { $timetol <= 2 } {
-               incr timetol
-               exp_continue
-           } else {
-               -               catch close
-               return "Timed out executing test case"
-           }
-       }
-   }
-
-    # force a close of the executable to be safe.
-    catch close
-}
-
-




reply via email to

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