[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/Makefil...
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/Makefil... |
Date: |
Thu, 02 Nov 2006 11:54:28 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 06/11/02 11:54:28
Modified files:
. : ChangeLog
testsuite/misc-ming.all: Makefile.am
testsuite/samples: Makefile.am
Added files:
testsuite : simple.exp
Removed files:
testsuite/misc-ming.all: ming.exp
testsuite/samples: samples.exp
Log message:
* testsuite/simple.exp: new file being a copy
of the equal ming.exp and samples.exp files.
* testsuite: misc-ming.all/ming.exp, samples/samples.exp:
replaced by simple.exp above
* testsuite/: misc-ming.all/Makefile.am, samples/Makefile.am:
use unified expect script.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.1476&r2=1.1477
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/simple.exp?cvsroot=gnash&rev=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/Makefile.am?cvsroot=gnash&r1=1.27&r2=1.28
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/ming.exp?cvsroot=gnash&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/samples/Makefile.am?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/samples/samples.exp?cvsroot=gnash&r1=1.1&r2=0
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.1476
retrieving revision 1.1477
diff -u -b -r1.1476 -r1.1477
--- ChangeLog 2 Nov 2006 10:53:47 -0000 1.1476
+++ ChangeLog 2 Nov 2006 11:54:28 -0000 1.1477
@@ -1,3 +1,12 @@
+2006-11-02 Sandro Santilli <address@hidden>
+
+ * testsuite/simple.exp: new file being a copy
+ of the equal ming.exp and samples.exp files.
+ * testsuite: misc-ming.all/ming.exp, samples/samples.exp:
+ replaced by simple.exp above
+ * testsuite/: misc-ming.all/Makefile.am, samples/Makefile.am:
+ use unified expect script.
+
2006-11-02 Udo Giacomozzi <address@hidden>
* testsuite/samples/gradients-test.swf: Added a extensive
Index: testsuite/misc-ming.all/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/Makefile.am,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -b -r1.27 -r1.28
--- testsuite/misc-ming.all/Makefile.am 29 Oct 2006 18:34:18 -0000 1.27
+++ testsuite/misc-ming.all/Makefile.am 2 Nov 2006 11:54:28 -0000 1.28
@@ -163,7 +163,7 @@
clean-local:
-rm *.swf media
-TEST_DRIVERS = ming.exp
+TEST_DRIVERS = ../simple.exp
TEST_CASES = \
DefineEditTextVariableNameTest-Runner \
RollOverOutTest-Runner \
Index: testsuite/samples/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/testsuite/samples/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- testsuite/samples/Makefile.am 29 Oct 2006 18:34:18 -0000 1.2
+++ testsuite/samples/Makefile.am 2 Nov 2006 11:54:28 -0000 1.3
@@ -61,7 +61,7 @@
clean-local:
EXTRA_DIST = clip_as_button2.swf
-TEST_DRIVERS = samples.exp
+TEST_DRIVERS = ../simple.exp
TEST_CASES = \
clip_as_button2-TestRunner
Index: testsuite/simple.exp
===================================================================
RCS file: testsuite/simple.exp
diff -N testsuite/simple.exp
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ testsuite/simple.exp 2 Nov 2006 11:54:28 -0000 1.2
@@ -0,0 +1,88 @@
+
+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
+}
+
+
Index: testsuite/misc-ming.all/ming.exp
===================================================================
RCS file: testsuite/misc-ming.all/ming.exp
diff -N testsuite/misc-ming.all/ming.exp
--- testsuite/misc-ming.all/ming.exp 12 Oct 2006 23:50:44 -0000 1.1
+++ /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
-}
-
-
Index: testsuite/samples/samples.exp
===================================================================
RCS file: testsuite/samples/samples.exp
diff -N testsuite/samples/samples.exp
--- testsuite/samples/samples.exp 24 Oct 2006 13:19:36 -0000 1.1
+++ /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
-}
-
-
- [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/Makefil...,
Sandro Santilli <=