Skip to content
Snippets Groups Projects
Commit 3dbdec0f authored by Daniel Hornung's avatar Daniel Hornung
Browse files

FIX: Failing Octave test returns a failure now.

Also updated cpplib dependency to 0.0.7.
parent 20ac074f
No related branches found
No related tags found
1 merge request!1Initial functionality
Pipeline #11405 passed with warnings
Pipeline: caosdb-octaveinttest

#11413

    ...@@ -24,7 +24,7 @@ variables: ...@@ -24,7 +24,7 @@ variables:
    # caosdb-cpplib) # caosdb-cpplib)
    CPPLIB_REGISTRY_IMAGE: $CI_REGISTRY/caosdb/src/caosdb-cpplib/testenv CPPLIB_REGISTRY_IMAGE: $CI_REGISTRY/caosdb/src/caosdb-cpplib/testenv
    OCTAVE_REGISTRY_IMAGE: $CI_REGISTRY_IMAGE/testenv:$CI_COMMIT_REF_NAME OCTAVE_REGISTRY_IMAGE: $CI_REGISTRY_IMAGE/testenv:$CI_COMMIT_REF_NAME
    CPPLIB_BRANCH: v0.0.6 CPPLIB_BRANCH: dev
    OCTAVEINTTEST_PIPELINE: https://gitlab.indiscale.com/api/v4/projects/121/trigger/pipeline OCTAVEINTTEST_PIPELINE: https://gitlab.indiscale.com/api/v4/projects/121/trigger/pipeline
    ......
    [requires] [requires]
    caosdb/0.0.6 caosdb/0.0.7
    [generators] [generators]
    cmake cmake
    ...@@ -63,9 +63,9 @@ classdef Caosdb < handle ...@@ -63,9 +63,9 @@ classdef Caosdb < handle
    info_result = maox_info(obj.connection); info_result = maox_info(obj.connection);
    res = info_result; res = info_result;
    catch catch
    disp("some error!"); % disp("some error!");
    disp(lasterror()); % disp(lasterror());
    res = NA; rethrow(lasterror());
    end end
    end end
    ......
    ...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
    % along with this program. If not, see <https://www.gnu.org/licenses/>. % along with this program. If not, see <https://www.gnu.org/licenses/>.
    pkg load caosdb; pkg load caosdb;
    test_result = moxunit_runtests("-verbose", "test_caosdb.m"); test_result = moxunit_runtests("-verbose", "test_unittest.m");
    if not(test_result) if not(test_result)
    exit(1) exit(1)
    end end
    ...@@ -35,5 +35,5 @@ function test_local() ...@@ -35,5 +35,5 @@ function test_local()
    % Only get the local versions. % Only get the local versions.
    version = caosdb_exec("--version"); version = caosdb_exec("--version");
    assertEqual(version, "v0.1 (libcaosdb v0.0.6)"); assertEqual(version, "v0.1 (libcaosdb v0.0.7)");
    end end
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment