From e0a84d69125462096ca22f7b204ca23636296a9f Mon Sep 17 00:00:00 2001 From: Timm Fitschen <t.fitschen@indiscale.com> Date: Tue, 7 Sep 2021 16:24:12 +0200 Subject: [PATCH] TST: add test for compatible cpplib --- test/runtests.jl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/runtests.jl b/test/runtests.jl index 436d283..28f1c2f 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -24,6 +24,12 @@ using Test using CaosDB @testset "CaosDBUnitTests" begin + @testset "TestCaosdbCppLibVersion" begin + @test ccall((:caosdb_constants_LIBCAOSDB_VERSION_MAJOR, CaosDB.library_name), Cint, ()) == 0 + @test ccall((:caosdb_constants_LIBCAOSDB_VERSION_MINOR, CaosDB.library_name), Cint, ()) == 0 + @test ccall((:caosdb_constants_LIBCAOSDB_VERSION_PATCH, CaosDB.library_name), Cint, ()) == 16 + end + @testset "TestUtility" begin if haskey(ENV, "SHELL") shell_var = ENV["SHELL"] -- GitLab