From 13f83016a4ce32db6b6bc82d7584401c4f0c8668 Mon Sep 17 00:00:00 2001
From: Timo Koch <timo.koch@iws.uni-stuttgart.de>
Date: Tue, 21 Jul 2015 16:40:35 +0000
Subject: [PATCH] Return the right exit code in the runtest script

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@15134 2fb0f335-1f38-0410-981e-8018bf24f1b0
---
 bin/runtest.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/runtest.py b/bin/runtest.py
index e7b04828c4..12594bfd45 100644
--- a/bin/runtest.py
+++ b/bin/runtest.py
@@ -35,7 +35,7 @@ except OSError as e:
     print("OSError: Command not found. Most likely the executable specified doesn't exist.")
     sys.exit(1)
 if res:
-    sys.exit(1)
+    sys.exit(res)
 
 # run the comparison
 if args['script']:
-- 
GitLab