bugfix
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Thu, 22 Sep 2011 10:36:39 +0000 (12:36 +0200)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Thu, 22 Sep 2011 10:36:39 +0000 (12:36 +0200)
system/Substrate.py

index 3df5886..e26f7e5 100644 (file)
@@ -697,12 +697,9 @@ class TestBox (Box):
         if not i:
             self.test_instances.append (TestInstance (buildname,pid))
             return
-        if i.pid!=0:
+        if i.pids:
             print "WARNING: 2 concurrent tests run on same build %s"%buildname
-            i.add_pid (pid)
-            return
-        else:
-            i.pid=pid
+        i.add_pid (pid)
 
     def add_broken (self, buildname, plcindex, step):
         i=self.get_test(buildname)