[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[certi-cvs] applications/HLA_TestsSuite dtest_Interactive_F...
From: |
certi-cvs |
Subject: |
[certi-cvs] applications/HLA_TestsSuite dtest_Interactive_F... |
Date: |
Thu, 25 Jun 2009 13:48:51 +0000 |
CVSROOT: /sources/certi
Module name: applications
Changes by: Eric NOULARD <erk> 09/06/25 13:48:51
Modified files:
HLA_TestsSuite : dtest_Interactive_Federate.py
Log message:
Change some comments
Add matching end of line (\r) for lookahead back to 0
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/applications/HLA_TestsSuite/dtest_Interactive_Federate.py?cvsroot=certi&r1=1.2&r2=1.3
Patches:
Index: dtest_Interactive_Federate.py
===================================================================
RCS file:
/sources/certi/applications/HLA_TestsSuite/dtest_Interactive_Federate.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- dtest_Interactive_Federate.py 24 Jun 2009 08:22:30 -0000 1.2
+++ dtest_Interactive_Federate.py 25 Jun 2009 13:48:51 -0000 1.3
@@ -81,7 +81,7 @@
rtig.stderr = file(rtig.name + ".err",'w+')
# describe RTIG run steps
-rtig.addRunStep("ok",True,"HLA test test_Sync Starts.")
+rtig.addRunStep("ok",True,"HLA test Zero Lookahead (InteractiveFederate)
Starts.")
dtest.ReusableSequences.addConditionalRunShellScript(rtig,c_shell_cmd="source
"+certi_home+"/share/scripts/myCERTI_env.csh "+rtig_param['host'],
bourne_shell_cmd="source
"+certi_home+"/share/scripts/myCERTI_env.sh "+rtig_param['host'])
rtig.addRunStep("runCommand",command=rtig_param['path'])
@@ -90,7 +90,7 @@
rtig.addRunStep("barrier","All Federate(s) ended")
rtig.addRunStep("terminateCommand")
rtig.addRunStep("waitCommandTermination")
-rtig.addRunStep("ok",True,"HLA test Interactive Federate Ends.")
+rtig.addRunStep("ok",True,"HLA test Zero Lookahead (InteractiveFederate)
Ends.")
#dtest.DTester.logger.setLevel(level=logging.DEBUG)
@@ -187,6 +187,7 @@
otherFederate.addRunStep("sendToCommand",string="ql\n")
otherFederate.addRunStep("expectFromCommand",pattern="Lookahead=0.0001")
+#otherFederate.addRunStep("expectFromCommand",pattern="Lookahead=0.00\r")
otherFederate.addRunStep("ok",otherFederate.getFutureLastStepStatus,otherFederate.name+"
has Lookahead > 0")
otherFederate.addRunStep("barrier","Wait before an interaction exchange")
@@ -201,7 +202,7 @@
otherFederate.addRunStep("expectFromCommand",pattern="timeAdvanceGrant")
otherFederate.addRunStep("ok",otherFederate.getFutureLastStepStatus,otherFederate.name+"
time advance granted")
otherFederate.addRunStep("sendToCommand",string="ql\n")
-otherFederate.addRunStep("expectFromCommand",pattern="Lookahead=0")
+otherFederate.addRunStep("expectFromCommand",pattern="Lookahead=0\r")
otherFederate.addRunStep("ok",otherFederate.getFutureLastStepStatus,otherFederate.name+"
lookahead back to 0")
otherFederate.addRunStep("expectFromCommand",pattern="Choisissez une action :")
@@ -218,7 +219,7 @@
otherFederate.addRunStep("barrier","All Federate(s) ended")
def goTest():
- myDTestMaster = dtest.DTestMaster("HLA test Interactive Federate
Starts","Launch RTIG + two interactive federates for testing ...")
+ myDTestMaster = dtest.DTestMaster("HLA Test Zero Lookahead","Launch RTIG +
two interactive federates for testing zero lookahead")
myDTestMaster.timeout = 40
myDTestMaster.register(rtig)
myDTestMaster.register(firstFederate)