diff --git a/scripts/OpalRegressionTests/regressiontest.py b/scripts/OpalRegressionTests/regressiontest.py
index e0928e6ef9c72a2d0ece1df1d8b0411215adf9a0..21fe719756b6549e5cb12b79aedd47b323109a28 100755
--- a/scripts/OpalRegressionTests/regressiontest.py
+++ b/scripts/OpalRegressionTests/regressiontest.py
@@ -246,11 +246,12 @@ class RegressionTest:
 
         rep = Reporter()
         rep.appendReport("Run regression test " + self.simname + "\n")
-            
-        # run test
+        success = False    
+        # for the time being run_local is always true!
         if run_local:
-            exit_code = self.mpirun()
+            success = self.mpirun()
         else:
+            # :FIXME: this is broken!
             self.submitToSGE()
             self.waitUntilCompletion()
             
@@ -266,7 +267,7 @@ class RegressionTest:
             tests = [line.rstrip('\n') for line in infile]
 
         description = tests[0].lstrip("\"").rstrip("\"")
-        if exit_code != 0:
+        if not success:
             description += ". Test failed with exit code %d" % (exit_code)
         simulation_report.addAttribute("description", description)