From 20ac074f046a98e47c143d8e53202355eb3c0fc3 Mon Sep 17 00:00:00 2001
From: Daniel <d.hornung@indiscale.com>
Date: Thu, 5 Aug 2021 09:27:50 +0200
Subject: [PATCH] FIX: Octave testing now also returns with an error if tests
 fail.

---
 test/Run_Test.m | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/test/Run_Test.m b/test/Run_Test.m
index 067c7d4..e097828 100644
--- a/test/Run_Test.m
+++ b/test/Run_Test.m
@@ -17,4 +17,7 @@
 % along with this program. If not, see <https://www.gnu.org/licenses/>.
 
 pkg load caosdb;
-moxunit_runtests -verbose test_unittest.m;
+test_result = moxunit_runtests("-verbose", "test_caosdb.m");
+if not(test_result)
+  exit(1)
+end
-- 
GitLab