start_node needs to return True
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 8 Apr 2008 12:20:39 +0000 (12:20 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 8 Apr 2008 12:20:39 +0000 (12:20 +0000)
system/TestBox.py
system/TestNode.py

index 773a914..462b152 100644 (file)
@@ -21,7 +21,9 @@ class TestBox:
         return self.test_ssh.is_local()
     
     def run_in_buildname (self,command,background=False):
-        utils.header("Running command %s on testbox %s"%(command,self.hostname()))
+        message="On %s: running %s"%(self.hostname(),command)
+        if background: message += " &"
+        utils.header(message)
         return self.test_ssh.run_in_buildname (command,background)
 
     # xxx could/should use rsync instead
index 13c1a16..3f2e8b3 100644 (file)
@@ -168,6 +168,7 @@ class TestNode:
             self.start_qemu()
         else:
             utils.header("TestNode.start_node : %s model %s taken as real node"%(self.name(),model))
+        return True
 
     def start_qemu (self):
         options = self.test_plc.options