gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] /srv/bzr/gnash/rtmp r9900: use the freshly built cygnal t


From: rob
Subject: [Gnash-commit] /srv/bzr/gnash/rtmp r9900: use the freshly built cygnal to test against.
Date: Thu, 25 Dec 2008 15:41:53 -0700
User-agent: Bazaar (1.5)

------------------------------------------------------------
revno: 9900
committer: address@hidden
branch nick: rtmp
timestamp: Thu 2008-12-25 15:41:53 -0700
message:
  use the freshly built cygnal to test against.
modified:
  cygnal/testsuite/cygnal.exp
=== modified file 'cygnal/testsuite/cygnal.exp'
--- a/cygnal/testsuite/cygnal.exp       2008-12-25 22:27:15 +0000
+++ b/cygnal/testsuite/cygnal.exp       2008-12-25 22:41:53 +0000
@@ -32,7 +32,7 @@
 set file all
 set params ""
 
-set cport 4080;                        # the port for the connection to Cygnal
+set cport 6080;                        # the port for the connection to Cygnal
 set chost "localhost";         # the host to connect to
 set sid 0;                     # the server ID
 
@@ -227,9 +227,11 @@
 proc start_cygnal { } {
     global server_dead 
     global sid
+    global objdir
     set result false
-    set server "../../cygnal"
-    set options "-p 5000 -vv -n -t -r [pwd]"
+    # find the right cygnal in our build tree to run
+    set server [lookfor_file $objdir cygnal]
+    set options "-p 6000 -vv -n -t -r [pwd]"
     verbose "Starting Cygnal server \"$server $options\" for testing"
     spawn $server $options
     set sid $spawn_id
@@ -393,12 +395,12 @@
     if {$server_dead == "false"} {
        set result [ wpost $i "" ]
        if { $result == true } {
-           pass "HTTP POST AMF0 $j, posted"
+           pass "HTTP POST AMF0 $j, sent"
        } else {
-           fail "HTTP POST AMF0 $j, posted"
+           fail "HTTP POST AMF0 $j, sent"
        }
     } else {
-       untested "HTTP POST AMF0 $j, posted"
+       untested "HTTP POST AMF0 $j, sent"
        untested "HTTP POST AMF0 $j got no response, not saved to 
$chost:$cport/gateway"
        break;
     }


reply via email to

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