fix the check_slices() method to manage the case we have more than one slice
authorMarc Fiuczynski <mef@cs.princeton.edu>
Tue, 12 Feb 2008 16:33:22 +0000 (16:33 +0000)
committerMarc Fiuczynski <mef@cs.princeton.edu>
Tue, 12 Feb 2008 16:33:22 +0000 (16:33 +0000)
system/TestPlc.py

index 73bfae9..a876e82 100644 (file)
@@ -508,7 +508,9 @@ class TestPlc:
             test_site = TestSite(self,site_spec)
             test_slice=TestSlice(self,test_site,slice_spec)
             status=test_slice.do_check_slice(options)
-            return status
+            if (not status):
+                return False
+        return status
     
     def start_nodes (self, options):
         self.kill_all_qemus()