CxxWrap

← Back to package list

If you think that there is an error in how your package is being tested or represented, please file an issue at NewPkgEval.jl, making sure to read the FAQ first.

Results with Julia v1.2.0

Testing was successful. Last evaluation was ago and took 1 minute, 7 seconds.

Click here to download the log file.

 Resolving package versions...
 Installed CxxWrap ──────── v0.8.2
 Installed BinaryProvider ─ v0.5.8
  Updating `~/.julia/environments/v1.2/Project.toml`
  [1f15a43c] + CxxWrap v0.8.2
  Updating `~/.julia/environments/v1.2/Manifest.toml`
  [b99e7846] + BinaryProvider v0.5.8
  [1f15a43c] + CxxWrap v0.8.2
  [8f399da3] + Libdl 
  [ea8e919c] + SHA 
  Building CxxWrap → `~/.julia/packages/CxxWrap/sarOk/deps/build.log`
   Testing CxxWrap
 Resolving package versions...
    Status `/tmp/jl_m1X1sH/Manifest.toml`
  [b99e7846] BinaryProvider v0.5.8
  [1f15a43c] CxxWrap v0.8.2
  [2a0f44e3] Base64  [`@stdlib/Base64`]
  [8ba89e20] Distributed  [`@stdlib/Distributed`]
  [b77e0a4c] InteractiveUtils  [`@stdlib/InteractiveUtils`]
  [8f399da3] Libdl  [`@stdlib/Libdl`]
  [56ddb016] Logging  [`@stdlib/Logging`]
  [d6f4376e] Markdown  [`@stdlib/Markdown`]
  [9a3f8284] Random  [`@stdlib/Random`]
  [ea8e919c] SHA  [`@stdlib/SHA`]
  [9e88b42a] Serialization  [`@stdlib/Serialization`]
  [6462fe0b] Sockets  [`@stdlib/Sockets`]
  [8dfed614] Test  [`@stdlib/Test`]
[ Info: Found a valid dl path libcxxwrap_julia.so while looking for libjlcxx_containers
[ Info: Found a valid dl path libcxxwrap_julia.so.0 while looking for libjlcxx_containers
[ Info: Found a valid dl path libcxxwrap_julia.so.0.5.3 while looking for libjlcxx_containers
[ Info: Found a valid dl path libexcept.so while looking for libjlcxx_containers
[ Info: Found a valid dl path libextended.so while looking for libjlcxx_containers
[ Info: Found a valid dl path libfunctions.so while looking for libjlcxx_containers
[ Info: Found a valid dl path libhello.so while looking for libjlcxx_containers
[ Info: Found a valid dl path libinheritance.so while looking for libjlcxx_containers
[ Info: Found a valid dl path libjlcxx_containers.so while looking for libjlcxx_containers
[ Info: /root/.julia/packages/CxxWrap/sarOk/deps/usr/lib/libjlcxx_containers.so matches our search criteria of libjlcxx_containers
[ Info: Found a valid dl path libcxxwrap_julia.so while looking for libexcept
[ Info: Found a valid dl path libcxxwrap_julia.so.0 while looking for libexcept
[ Info: Found a valid dl path libcxxwrap_julia.so.0.5.3 while looking for libexcept
[ Info: Found a valid dl path libexcept.so while looking for libexcept
[ Info: /root/.julia/packages/CxxWrap/sarOk/deps/usr/lib/libexcept.so matches our search criteria of libexcept
[ Info: Found a valid dl path libcxxwrap_julia.so while looking for libextended
[ Info: Found a valid dl path libcxxwrap_julia.so.0 while looking for libextended
[ Info: Found a valid dl path libcxxwrap_julia.so.0.5.3 while looking for libextended
[ Info: Found a valid dl path libexcept.so while looking for libextended
[ Info: Found a valid dl path libextended.so while looking for libextended
[ Info: /root/.julia/packages/CxxWrap/sarOk/deps/usr/lib/libextended.so matches our search criteria of libextended
[ Info: Found a valid dl path libcxxwrap_julia.so while looking for libfunctions
[ Info: Found a valid dl path libcxxwrap_julia.so.0 while looking for libfunctions
[ Info: Found a valid dl path libcxxwrap_julia.so.0.5.3 while looking for libfunctions
[ Info: Found a valid dl path libexcept.so while looking for libfunctions
[ Info: Found a valid dl path libextended.so while looking for libfunctions
[ Info: Found a valid dl path libfunctions.so while looking for libfunctions
[ Info: /root/.julia/packages/CxxWrap/sarOk/deps/usr/lib/libfunctions.so matches our search criteria of libfunctions
[ Info: Found a valid dl path libcxxwrap_julia.so while looking for libhello
[ Info: Found a valid dl path libcxxwrap_julia.so.0 while looking for libhello
[ Info: Found a valid dl path libcxxwrap_julia.so.0.5.3 while looking for libhello
[ Info: Found a valid dl path libexcept.so while looking for libhello
[ Info: Found a valid dl path libextended.so while looking for libhello
[ Info: Found a valid dl path libfunctions.so while looking for libhello
[ Info: Found a valid dl path libhello.so while looking for libhello
[ Info: /root/.julia/packages/CxxWrap/sarOk/deps/usr/lib/libhello.so matches our search criteria of libhello
[ Info: Found a valid dl path libcxxwrap_julia.so while looking for libinheritance
[ Info: Found a valid dl path libcxxwrap_julia.so.0 while looking for libinheritance
[ Info: Found a valid dl path libcxxwrap_julia.so.0.5.3 while looking for libinheritance
[ Info: Found a valid dl path libexcept.so while looking for libinheritance
[ Info: Found a valid dl path libextended.so while looking for libinheritance
[ Info: Found a valid dl path libfunctions.so while looking for libinheritance
[ Info: Found a valid dl path libhello.so while looking for libinheritance
[ Info: Found a valid dl path libinheritance.so while looking for libinheritance
[ Info: /root/.julia/packages/CxxWrap/sarOk/deps/usr/lib/libinheritance.so matches our search criteria of libinheritance
[ Info: Found a valid dl path libcxxwrap_julia.so while looking for libparametric
[ Info: Found a valid dl path libcxxwrap_julia.so.0 while looking for libparametric
[ Info: Found a valid dl path libcxxwrap_julia.so.0.5.3 while looking for libparametric
[ Info: Found a valid dl path libexcept.so while looking for libparametric
[ Info: Found a valid dl path libextended.so while looking for libparametric
[ Info: Found a valid dl path libfunctions.so while looking for libparametric
[ Info: Found a valid dl path libhello.so while looking for libparametric
[ Info: Found a valid dl path libinheritance.so while looking for libparametric
[ Info: Found a valid dl path libjlcxx_containers.so while looking for libparametric
[ Info: Found a valid dl path libparametric.so while looking for libparametric
[ Info: /root/.julia/packages/CxxWrap/sarOk/deps/usr/lib/libparametric.so matches our search criteria of libparametric
[ Info: Found a valid dl path libcxxwrap_julia.so while looking for libpointer_modification
[ Info: Found a valid dl path libcxxwrap_julia.so.0 while looking for libpointer_modification
[ Info: Found a valid dl path libcxxwrap_julia.so.0.5.3 while looking for libpointer_modification
[ Info: Found a valid dl path libexcept.so while looking for libpointer_modification
[ Info: Found a valid dl path libextended.so while looking for libpointer_modification
[ Info: Found a valid dl path libfunctions.so while looking for libpointer_modification
[ Info: Found a valid dl path libhello.so while looking for libpointer_modification
[ Info: Found a valid dl path libinheritance.so while looking for libpointer_modification
[ Info: Found a valid dl path libjlcxx_containers.so while looking for libpointer_modification
[ Info: Found a valid dl path libparametric.so while looking for libpointer_modification
[ Info: Found a valid dl path libpointer_modification.so while looking for libpointer_modification
[ Info: /root/.julia/packages/CxxWrap/sarOk/deps/usr/lib/libpointer_modification.so matches our search criteria of libpointer_modification
[ Info: Found a valid dl path libcxxwrap_julia.so while looking for libtypes
[ Info: Found a valid dl path libcxxwrap_julia.so.0 while looking for libtypes
[ Info: Found a valid dl path libcxxwrap_julia.so.0.5.3 while looking for libtypes
[ Info: Found a valid dl path libexcept.so while looking for libtypes
[ Info: Found a valid dl path libextended.so while looking for libtypes
[ Info: Found a valid dl path libfunctions.so while looking for libtypes
[ Info: Found a valid dl path libhello.so while looking for libtypes
[ Info: Found a valid dl path libinheritance.so while looking for libtypes
[ Info: Found a valid dl path libjlcxx_containers.so while looking for libtypes
[ Info: Found a valid dl path libparametric.so while looking for libtypes
[ Info: Found a valid dl path libpointer_modification.so while looking for libtypes
[ Info: Found a valid dl path libtypes.so while looking for libtypes
[ Info: /root/.julia/packages/CxxWrap/sarOk/deps/usr/lib/libtypes.so matches our search criteria of libtypes
Running tests from containers.jl...
Displaying const matrix
3×2 ConstArray{Float64,2}:
 1.0  4.0
 2.0  5.0
 3.0  6.0
Displaying mutable matrix
3×2 Array{Float64,2}:
 1.0  4.0
 2.0  5.0
 3.0  6.0
Running tests from deps.jl...
Running tests from except.jl...
exception 1
exception 2
exception 3
Running tests from extended_module.jl...
Running tests from functions.jl...
methods(CppHalfFunctions.half_d) = # 1 method for generic function "half_d":
[1] half_d(arg1::Union{Float64, Int64, Irrational}) in Main.CppHalfFunctions
c_func = #= /root/.julia/packages/CxxWrap/sarOk/test/functions.jl:65 =# @safe_cfunction(testf, Float64, (Float64, Float64)) = CxxWrap.SafeCFunction(Ptr{Nothing} @0x00007f630e3301b0, Float64, Type[Float64, Float64])
callback result for function 0x7f630e3301b0 is 3
callback result for function 0x7f630e3301b0 is 3
callback in Julia: calledFromCPP = 3.0
callback in Julia: calledFromCPP = 3.0
---- Half test timings ----
Julia test:
  0.119794 seconds (128 allocations: 7.938 KiB)
  0.098286 seconds (4 allocations: 160 bytes)
  0.114034 seconds (4 allocations: 160 bytes)
C test:
  0.197694 seconds (135 allocations: 8.203 KiB)
  0.204272 seconds (4 allocations: 160 bytes)
  0.199056 seconds (4 allocations: 160 bytes)
C++ test:
  0.332682 seconds (7 allocations: 384 bytes)
  0.310327 seconds (4 allocations: 160 bytes)
  0.308421 seconds (4 allocations: 160 bytes)
C++ lambda test:
  0.775938 seconds (7 allocations: 384 bytes)
  0.637265 seconds (4 allocations: 160 bytes)
  0.637597 seconds (4 allocations: 160 bytes)
C++ test, loop in the C++ code:
  0.088803 seconds (39 allocations: 2.672 KiB)
  0.091574 seconds (4 allocations: 160 bytes)
  0.084111 seconds (4 allocations: 160 bytes)
cfunction in C++ loop
  0.509872 seconds (5.15 k allocations: 291.700 KiB)
  0.478577 seconds (4 allocations: 160 bytes)
  0.474064 seconds (4 allocations: 160 bytes)
jl_call inside C++ loop (array is 100 times smaller than other tests):
  0.193131 seconds (1.00 M allocations: 15.505 MiB, 10.55% gc time)
  0.235895 seconds (1.00 M allocations: 15.259 MiB)
  0.184081 seconds (1.00 M allocations: 15.259 MiB)
Running tests from hello.jl...
CppHello.greet() = "hello, world"
Running tests from inheritance.jl...
Running tests from parametric.jl...
Dumping object p1:
Main.ParametricTypes.TemplateTypeAllocated{Main.ParametricTypes.P1,Main.ParametricTypes.P2}
  cpp_object: Ptr{Nothing} @0x00000000033d5470
Running tests from pointer_modification.jl...
Running tests from types.jl...
Dumping type w...
Main.CppTypes.WorldAllocated
  cpp_object: Ptr{Nothing} @0x0000000004c93330
fw = CppTypes.world_factory() = Main.CppTypes.WorldRef(Ptr{Nothing} @0x0000000003699560)
0 
1 
2 
0 
2 
4 
Destroying World with message shared factory hello ref
Destroying World with message reset shared pointer
uwf = CppTypes.unique_world_factory() = CxxWrap.SmartPointerWithDeref{Main.CppTypes.World,:St10unique_ptrIiSt14default_deleteIiEE}(Ptr{Nothing} @0x00000000023e1910)
Destroying World with message world by value hello
CppTypes.greet(w) = "hello"
Destroying World with message constructed
finalized w
throw test 1 passed
throw test 2 passed
completed deepcopy test
a: 2.0, b: 3.0
Destroying World with message hello
CppTypes.name(foovec[1]) = "a"
CppTypes.data(foovec[1]) = [1.0, 2.0, 3.0]
a: 1 2 3
b: 11 12 13
CppTypes.increment_immutable(imm) = Main.CppTypes.ImmutableBits(2.0, 3.0)
WARNING: replacing module CppTypes.
Warning: re-registering type DoubleData
Warning: re-registering type DoubleData
Warning: re-registering type DoubleData
Warning: re-registering type World
Warning: re-registering type World
Warning: re-registering type World
Warning: re-registering type Array
Warning: re-registering type Array
Warning: re-registering type Array
Warning: re-registering type NonCopyable
Warning: re-registering type NonCopyable
Warning: re-registering type NonCopyable
Warning: re-registering type AConstRef
Warning: re-registering type AConstRef
Warning: re-registering type AConstRef
Warning: re-registering type ReturnConstRef
Warning: re-registering type ReturnConstRef
Warning: re-registering type ReturnConstRef
Warning: re-registering type CallOperator
Warning: re-registering type CallOperator
Warning: re-registering type CallOperator
Warning: re-registering type ConstPtrConstruct
Warning: re-registering type ConstPtrConstruct
Warning: re-registering type ConstPtrConstruct
Warning: re-registering type MyEnum
Warning: re-registering type Foo
Warning: re-registering type Foo
Warning: re-registering type Foo
Warning: re-registering type NullableStruct
Warning: re-registering type NullableStruct
Warning: re-registering type NullableStruct
Warning: re-registering type ImmutableBits
Dumping type w...
Main.CppTypes.WorldAllocated
  cpp_object: Ptr{Nothing} @0x00000000048d6c30
fw = CppTypes.world_factory() = Main.CppTypes.WorldRef(Ptr{Nothing} @0x000000000446e090)
Destroying World with message shared factory hello ref
Destroying World with message reset shared pointer
uwf = CppTypes.unique_world_factory() = CxxWrap.SmartPointerWithDeref{Main.CppTypes.World,:St10unique_ptrIiSt14default_deleteIiEE}(Ptr{Nothing} @0x00000000031b12e0)
Destroying World with message world by value hello
CppTypes.greet(w) = "hello"
Destroying World with message constructed
finalized w
throw test 1 passed
throw test 2 passed
completed deepcopy test
Destroying World with message hello
a: 2.0, b: 3.0
CppTypes.name(foovec[1]) = "a"
CppTypes.data(foovec[1]) = [1.0, 2.0, 3.0]
a: 1 2 3
b: 11 12 13
CppTypes.increment_immutable(imm) = Main.CppTypes.ImmutableBits(2.0, 3.0)
Test Summary: | Pass  Total
CxxWrap tests |  217    217
Destroying World with message default hello
Destroying World with message constructed
Destroying World with message world by value hello
Destroying World with message unique factory hello
Destroying World with message shared factory hello
Destroying World with message shared factory hello
Destroying World with message default hello
Destroying World with message constructed
Destroying World with message world by value hello
Destroying World with message unique factory hello
Destroying World with message reffed world
Destroying World with message boxed world pointer
Destroying World with message boxed world
Destroying World with message shared factory hello ref
   Testing CxxWrap tests passed 

Results with Julia v1.3.0

Testing was successful. Last evaluation was ago and took 59 seconds.

Click here to download the log file.

 Resolving package versions...
 Installed CxxWrap ──────── v0.8.2
 Installed BinaryProvider ─ v0.5.8
  Updating `~/.julia/environments/v1.3/Project.toml`
  [1f15a43c] + CxxWrap v0.8.2
  Updating `~/.julia/environments/v1.3/Manifest.toml`
  [b99e7846] + BinaryProvider v0.5.8
  [1f15a43c] + CxxWrap v0.8.2
  [8f399da3] + Libdl 
  [ea8e919c] + SHA 
  Building CxxWrap → `~/.julia/packages/CxxWrap/sarOk/deps/build.log`
   Testing CxxWrap
 Resolving package versions...
    Status `/tmp/jl_UXPBvQ/Manifest.toml`
  [b99e7846] BinaryProvider v0.5.8
  [1f15a43c] CxxWrap v0.8.2
  [2a0f44e3] Base64  [`@stdlib/Base64`]
  [8ba89e20] Distributed  [`@stdlib/Distributed`]
  [b77e0a4c] InteractiveUtils  [`@stdlib/InteractiveUtils`]
  [8f399da3] Libdl  [`@stdlib/Libdl`]
  [56ddb016] Logging  [`@stdlib/Logging`]
  [d6f4376e] Markdown  [`@stdlib/Markdown`]
  [9a3f8284] Random  [`@stdlib/Random`]
  [ea8e919c] SHA  [`@stdlib/SHA`]
  [9e88b42a] Serialization  [`@stdlib/Serialization`]
  [6462fe0b] Sockets  [`@stdlib/Sockets`]
  [8dfed614] Test  [`@stdlib/Test`]
[ Info: Found a valid dl path libcxxwrap_julia.so while looking for libjlcxx_containers
[ Info: Found a valid dl path libcxxwrap_julia.so.0 while looking for libjlcxx_containers
[ Info: Found a valid dl path libcxxwrap_julia.so.0.5.3 while looking for libjlcxx_containers
[ Info: Found a valid dl path libexcept.so while looking for libjlcxx_containers
[ Info: Found a valid dl path libextended.so while looking for libjlcxx_containers
[ Info: Found a valid dl path libfunctions.so while looking for libjlcxx_containers
[ Info: Found a valid dl path libhello.so while looking for libjlcxx_containers
[ Info: Found a valid dl path libinheritance.so while looking for libjlcxx_containers
[ Info: Found a valid dl path libjlcxx_containers.so while looking for libjlcxx_containers
[ Info: /root/.julia/packages/CxxWrap/sarOk/deps/usr/lib/libjlcxx_containers.so matches our search criteria of libjlcxx_containers
[ Info: Found a valid dl path libcxxwrap_julia.so while looking for libexcept
[ Info: Found a valid dl path libcxxwrap_julia.so.0 while looking for libexcept
[ Info: Found a valid dl path libcxxwrap_julia.so.0.5.3 while looking for libexcept
[ Info: Found a valid dl path libexcept.so while looking for libexcept
[ Info: /root/.julia/packages/CxxWrap/sarOk/deps/usr/lib/libexcept.so matches our search criteria of libexcept
[ Info: Found a valid dl path libcxxwrap_julia.so while looking for libextended
[ Info: Found a valid dl path libcxxwrap_julia.so.0 while looking for libextended
[ Info: Found a valid dl path libcxxwrap_julia.so.0.5.3 while looking for libextended
[ Info: Found a valid dl path libexcept.so while looking for libextended
[ Info: Found a valid dl path libextended.so while looking for libextended
[ Info: /root/.julia/packages/CxxWrap/sarOk/deps/usr/lib/libextended.so matches our search criteria of libextended
[ Info: Found a valid dl path libcxxwrap_julia.so while looking for libfunctions
[ Info: Found a valid dl path libcxxwrap_julia.so.0 while looking for libfunctions
[ Info: Found a valid dl path libcxxwrap_julia.so.0.5.3 while looking for libfunctions
[ Info: Found a valid dl path libexcept.so while looking for libfunctions
[ Info: Found a valid dl path libextended.so while looking for libfunctions
[ Info: Found a valid dl path libfunctions.so while looking for libfunctions
[ Info: /root/.julia/packages/CxxWrap/sarOk/deps/usr/lib/libfunctions.so matches our search criteria of libfunctions
[ Info: Found a valid dl path libcxxwrap_julia.so while looking for libhello
[ Info: Found a valid dl path libcxxwrap_julia.so.0 while looking for libhello
[ Info: Found a valid dl path libcxxwrap_julia.so.0.5.3 while looking for libhello
[ Info: Found a valid dl path libexcept.so while looking for libhello
[ Info: Found a valid dl path libextended.so while looking for libhello
[ Info: Found a valid dl path libfunctions.so while looking for libhello
[ Info: Found a valid dl path libhello.so while looking for libhello
[ Info: /root/.julia/packages/CxxWrap/sarOk/deps/usr/lib/libhello.so matches our search criteria of libhello
[ Info: Found a valid dl path libcxxwrap_julia.so while looking for libinheritance
[ Info: Found a valid dl path libcxxwrap_julia.so.0 while looking for libinheritance
[ Info: Found a valid dl path libcxxwrap_julia.so.0.5.3 while looking for libinheritance
[ Info: Found a valid dl path libexcept.so while looking for libinheritance
[ Info: Found a valid dl path libextended.so while looking for libinheritance
[ Info: Found a valid dl path libfunctions.so while looking for libinheritance
[ Info: Found a valid dl path libhello.so while looking for libinheritance
[ Info: Found a valid dl path libinheritance.so while looking for libinheritance
[ Info: /root/.julia/packages/CxxWrap/sarOk/deps/usr/lib/libinheritance.so matches our search criteria of libinheritance
[ Info: Found a valid dl path libcxxwrap_julia.so while looking for libparametric
[ Info: Found a valid dl path libcxxwrap_julia.so.0 while looking for libparametric
[ Info: Found a valid dl path libcxxwrap_julia.so.0.5.3 while looking for libparametric
[ Info: Found a valid dl path libexcept.so while looking for libparametric
[ Info: Found a valid dl path libextended.so while looking for libparametric
[ Info: Found a valid dl path libfunctions.so while looking for libparametric
[ Info: Found a valid dl path libhello.so while looking for libparametric
[ Info: Found a valid dl path libinheritance.so while looking for libparametric
[ Info: Found a valid dl path libjlcxx_containers.so while looking for libparametric
[ Info: Found a valid dl path libparametric.so while looking for libparametric
[ Info: /root/.julia/packages/CxxWrap/sarOk/deps/usr/lib/libparametric.so matches our search criteria of libparametric
[ Info: Found a valid dl path libcxxwrap_julia.so while looking for libpointer_modification
[ Info: Found a valid dl path libcxxwrap_julia.so.0 while looking for libpointer_modification
[ Info: Found a valid dl path libcxxwrap_julia.so.0.5.3 while looking for libpointer_modification
[ Info: Found a valid dl path libexcept.so while looking for libpointer_modification
[ Info: Found a valid dl path libextended.so while looking for libpointer_modification
[ Info: Found a valid dl path libfunctions.so while looking for libpointer_modification
[ Info: Found a valid dl path libhello.so while looking for libpointer_modification
[ Info: Found a valid dl path libinheritance.so while looking for libpointer_modification
[ Info: Found a valid dl path libjlcxx_containers.so while looking for libpointer_modification
[ Info: Found a valid dl path libparametric.so while looking for libpointer_modification
[ Info: Found a valid dl path libpointer_modification.so while looking for libpointer_modification
[ Info: /root/.julia/packages/CxxWrap/sarOk/deps/usr/lib/libpointer_modification.so matches our search criteria of libpointer_modification
[ Info: Found a valid dl path libcxxwrap_julia.so while looking for libtypes
[ Info: Found a valid dl path libcxxwrap_julia.so.0 while looking for libtypes
[ Info: Found a valid dl path libcxxwrap_julia.so.0.5.3 while looking for libtypes
[ Info: Found a valid dl path libexcept.so while looking for libtypes
[ Info: Found a valid dl path libextended.so while looking for libtypes
[ Info: Found a valid dl path libfunctions.so while looking for libtypes
[ Info: Found a valid dl path libhello.so while looking for libtypes
[ Info: Found a valid dl path libinheritance.so while looking for libtypes
[ Info: Found a valid dl path libjlcxx_containers.so while looking for libtypes
[ Info: Found a valid dl path libparametric.so while looking for libtypes
[ Info: Found a valid dl path libpointer_modification.so while looking for libtypes
[ Info: Found a valid dl path libtypes.so while looking for libtypes
[ Info: /root/.julia/packages/CxxWrap/sarOk/deps/usr/lib/libtypes.so matches our search criteria of libtypes
Running tests from containers.jl...
Displaying const matrix
3×2 ConstArray{Float64,2}:
 1.0  4.0
 2.0  5.0
 3.0  6.0
Displaying mutable matrix
3×2 Array{Float64,2}:
 1.0  4.0
 2.0  5.0
 3.0  6.0
Running tests from deps.jl...
Running tests from except.jl...
exception 1
exception 2
exception 3
Running tests from extended_module.jl...
Running tests from functions.jl...
methods(CppHalfFunctions.half_d) = # 1 method for generic function "half_d":
[1] half_d(arg1::Union{Float64, Int64, Irrational}) in Main.CppHalfFunctions
c_func = #= /root/.julia/packages/CxxWrap/sarOk/test/functions.jl:65 =# @safe_cfunction(testf, Float64, (Float64, Float64)) = CxxWrap.SafeCFunction(Ptr{Nothing} @0x00007f1bd6e4bbc0, Float64, Type[Float64, Float64])
callback result for function 0x7f1bd6e4bbc0 is 3
callback result for function 0x7f1bd6e4bbc0 is 3
callback in Julia: calledFromCPP = 3.0
callback in Julia: calledFromCPP = 3.0
---- Half test timings ----
Julia test:
  0.126395 seconds (128 allocations: 7.938 KiB)
  0.097246 seconds (4 allocations: 160 bytes)
  0.157857 seconds (4 allocations: 160 bytes)
C test:
  0.223216 seconds (135 allocations: 8.203 KiB)
  0.186655 seconds (4 allocations: 160 bytes)
  0.181109 seconds (4 allocations: 160 bytes)
C++ test:
  0.317358 seconds (7 allocations: 384 bytes)
  0.301872 seconds (4 allocations: 160 bytes)
  0.300740 seconds (4 allocations: 160 bytes)
C++ lambda test:
  0.565244 seconds (7 allocations: 384 bytes)
  0.607337 seconds (4 allocations: 160 bytes)
  0.643497 seconds (4 allocations: 160 bytes)
C++ test, loop in the C++ code:
  0.089815 seconds (39 allocations: 2.672 KiB)
  0.086298 seconds (4 allocations: 160 bytes)
  0.093264 seconds (4 allocations: 160 bytes)
cfunction in C++ loop
  0.542662 seconds (5.47 k allocations: 306.747 KiB)
  0.575931 seconds (4 allocations: 160 bytes)
  0.508163 seconds (4 allocations: 160 bytes)
jl_call inside C++ loop (array is 100 times smaller than other tests):
  0.152369 seconds (1.00 M allocations: 15.520 MiB)
  0.159477 seconds (1.00 M allocations: 15.259 MiB)
  0.143082 seconds (1.00 M allocations: 15.259 MiB)
Running tests from hello.jl...
CppHello.greet() = "hello, world"
Running tests from inheritance.jl...
Running tests from parametric.jl...
Dumping object p1:
Main.ParametricTypes.TemplateTypeAllocated{Main.ParametricTypes.P1,Main.ParametricTypes.P2}
  cpp_object: Ptr{Nothing} @0x0000000002a21040
Running tests from pointer_modification.jl...
Running tests from types.jl...
Dumping type w...
Main.CppTypes.WorldAllocated
  cpp_object: Ptr{Nothing} @0x0000000005aaa520
fw = CppTypes.world_factory() = Main.CppTypes.WorldRef(Ptr{Nothing} @0x0000000002469770)
0 
1 
2 
0 
2 
4 
Destroying World with message shared factory hello ref
Destroying World with message reset shared pointer
uwf = CppTypes.unique_world_factory() = CxxWrap.SmartPointerWithDeref{Main.CppTypes.World,:St10unique_ptrIiSt14default_deleteIiEE}(Ptr{Nothing} @0x0000000002d25090)
Destroying World with message world by value hello
CppTypes.greet(w) = "hello"
Destroying World with message constructed
finalized w
throw test 1 passed
throw test 2 passed
completed deepcopy test
a: 2.0, b: 3.0
CppTypes.name(foovec[1]) = "a"
CppTypes.data(foovec[1]) = [1.0, 2.0, 3.0]
a: 1 2 3
b: 11 12 13
CppTypes.increment_immutable(imm) = Main.CppTypes.ImmutableBits(2.0, 3.0)
WARNING: replacing module CppTypes.
Warning: re-registering type DoubleData
Warning: re-registering type DoubleData
Warning: re-registering type DoubleData
Warning: re-registering type World
Warning: re-registering type World
Warning: re-registering type World
Warning: re-registering type Array
Warning: re-registering type Array
Warning: re-registering type Array
Warning: re-registering type NonCopyable
Warning: re-registering type NonCopyable
Warning: re-registering type NonCopyable
Warning: re-registering type AConstRef
Warning: re-registering type AConstRef
Warning: re-registering type AConstRef
Warning: re-registering type ReturnConstRef
Warning: re-registering type ReturnConstRef
Warning: re-registering type ReturnConstRef
Warning: re-registering type CallOperator
Warning: re-registering type CallOperator
Warning: re-registering type CallOperator
Warning: re-registering type ConstPtrConstruct
Warning: re-registering type ConstPtrConstruct
Warning: re-registering type ConstPtrConstruct
Warning: re-registering type MyEnum
Warning: re-registering type Foo
Warning: re-registering type Foo
Warning: re-registering type Foo
Warning: re-registering type NullableStruct
Warning: re-registering type NullableStruct
Warning: re-registering type NullableStruct
Warning: re-registering type ImmutableBits
Dumping type w...
Main.CppTypes.WorldAllocated
  cpp_object: Ptr{Nothing} @0x0000000005cd2960
fw = CppTypes.world_factory() = Main.CppTypes.WorldRef(Ptr{Nothing} @0x0000000005cdf9c0)
Destroying World with message shared factory hello ref
Destroying World with message reset shared pointer
uwf = CppTypes.unique_world_factory() = CxxWrap.SmartPointerWithDeref{Main.CppTypes.World,:St10unique_ptrIiSt14default_deleteIiEE}(Ptr{Nothing} @0x0000000005cc11f0)
Destroying World with message world by value hello
CppTypes.greet(w) = "hello"
Destroying World with message constructed
finalized w
throw test 1 passed
throw test 2 passed
completed deepcopy test
a: 2.0, b: 3.0
CppTypes.name(foovec[1]) = "a"
CppTypes.data(foovec[1]) = [1.0, 2.0, 3.0]
a: 1 2 3
b: 11 12 13
CppTypes.increment_immutable(imm) = Main.CppTypes.ImmutableBits(2.0, 3.0)
Test Summary: | Pass  Total
CxxWrap tests |  217    217
Destroying World with message default hello
Destroying World with message constructed
Destroying World with message world by value hello
Destroying World with message unique factory hello
Destroying World with message shared factory hello
Destroying World with message hello
Destroying World with message default hello
Destroying World with message constructed
Destroying World with message world by value hello
Destroying World with message unique factory hello
Destroying World with message shared factory hello
Destroying World with message hello
Destroying World with message reffed world
Destroying World with message boxed world pointer
Destroying World with message boxed world
Destroying World with message shared factory hello ref
   Testing CxxWrap tests passed 

Results with Julia v1.3.1-pre-7704df0a5a

Testing was successful. Last evaluation was ago and took 1 minute, 3 seconds.

Click here to download the log file.

 Resolving package versions...
 Installed CxxWrap ──────── v0.8.2
 Installed BinaryProvider ─ v0.5.8
  Updating `~/.julia/environments/v1.3/Project.toml`
  [1f15a43c] + CxxWrap v0.8.2
  Updating `~/.julia/environments/v1.3/Manifest.toml`
  [b99e7846] + BinaryProvider v0.5.8
  [1f15a43c] + CxxWrap v0.8.2
  [8f399da3] + Libdl 
  [ea8e919c] + SHA 
  Building CxxWrap → `~/.julia/packages/CxxWrap/sarOk/deps/build.log`
   Testing CxxWrap
 Resolving package versions...
    Status `/tmp/jl_y4m0Ms/Manifest.toml`
  [b99e7846] BinaryProvider v0.5.8
  [1f15a43c] CxxWrap v0.8.2
  [2a0f44e3] Base64  [`@stdlib/Base64`]
  [8ba89e20] Distributed  [`@stdlib/Distributed`]
  [b77e0a4c] InteractiveUtils  [`@stdlib/InteractiveUtils`]
  [8f399da3] Libdl  [`@stdlib/Libdl`]
  [56ddb016] Logging  [`@stdlib/Logging`]
  [d6f4376e] Markdown  [`@stdlib/Markdown`]
  [9a3f8284] Random  [`@stdlib/Random`]
  [ea8e919c] SHA  [`@stdlib/SHA`]
  [9e88b42a] Serialization  [`@stdlib/Serialization`]
  [6462fe0b] Sockets  [`@stdlib/Sockets`]
  [8dfed614] Test  [`@stdlib/Test`]
[ Info: Found a valid dl path libcxxwrap_julia.so while looking for libjlcxx_containers
[ Info: Found a valid dl path libcxxwrap_julia.so.0 while looking for libjlcxx_containers
[ Info: Found a valid dl path libcxxwrap_julia.so.0.5.3 while looking for libjlcxx_containers
[ Info: Found a valid dl path libexcept.so while looking for libjlcxx_containers
[ Info: Found a valid dl path libextended.so while looking for libjlcxx_containers
[ Info: Found a valid dl path libfunctions.so while looking for libjlcxx_containers
[ Info: Found a valid dl path libhello.so while looking for libjlcxx_containers
[ Info: Found a valid dl path libinheritance.so while looking for libjlcxx_containers
[ Info: Found a valid dl path libjlcxx_containers.so while looking for libjlcxx_containers
[ Info: /root/.julia/packages/CxxWrap/sarOk/deps/usr/lib/libjlcxx_containers.so matches our search criteria of libjlcxx_containers
[ Info: Found a valid dl path libcxxwrap_julia.so while looking for libexcept
[ Info: Found a valid dl path libcxxwrap_julia.so.0 while looking for libexcept
[ Info: Found a valid dl path libcxxwrap_julia.so.0.5.3 while looking for libexcept
[ Info: Found a valid dl path libexcept.so while looking for libexcept
[ Info: /root/.julia/packages/CxxWrap/sarOk/deps/usr/lib/libexcept.so matches our search criteria of libexcept
[ Info: Found a valid dl path libcxxwrap_julia.so while looking for libextended
[ Info: Found a valid dl path libcxxwrap_julia.so.0 while looking for libextended
[ Info: Found a valid dl path libcxxwrap_julia.so.0.5.3 while looking for libextended
[ Info: Found a valid dl path libexcept.so while looking for libextended
[ Info: Found a valid dl path libextended.so while looking for libextended
[ Info: /root/.julia/packages/CxxWrap/sarOk/deps/usr/lib/libextended.so matches our search criteria of libextended
[ Info: Found a valid dl path libcxxwrap_julia.so while looking for libfunctions
[ Info: Found a valid dl path libcxxwrap_julia.so.0 while looking for libfunctions
[ Info: Found a valid dl path libcxxwrap_julia.so.0.5.3 while looking for libfunctions
[ Info: Found a valid dl path libexcept.so while looking for libfunctions
[ Info: Found a valid dl path libextended.so while looking for libfunctions
[ Info: Found a valid dl path libfunctions.so while looking for libfunctions
[ Info: /root/.julia/packages/CxxWrap/sarOk/deps/usr/lib/libfunctions.so matches our search criteria of libfunctions
[ Info: Found a valid dl path libcxxwrap_julia.so while looking for libhello
[ Info: Found a valid dl path libcxxwrap_julia.so.0 while looking for libhello
[ Info: Found a valid dl path libcxxwrap_julia.so.0.5.3 while looking for libhello
[ Info: Found a valid dl path libexcept.so while looking for libhello
[ Info: Found a valid dl path libextended.so while looking for libhello
[ Info: Found a valid dl path libfunctions.so while looking for libhello
[ Info: Found a valid dl path libhello.so while looking for libhello
[ Info: /root/.julia/packages/CxxWrap/sarOk/deps/usr/lib/libhello.so matches our search criteria of libhello
[ Info: Found a valid dl path libcxxwrap_julia.so while looking for libinheritance
[ Info: Found a valid dl path libcxxwrap_julia.so.0 while looking for libinheritance
[ Info: Found a valid dl path libcxxwrap_julia.so.0.5.3 while looking for libinheritance
[ Info: Found a valid dl path libexcept.so while looking for libinheritance
[ Info: Found a valid dl path libextended.so while looking for libinheritance
[ Info: Found a valid dl path libfunctions.so while looking for libinheritance
[ Info: Found a valid dl path libhello.so while looking for libinheritance
[ Info: Found a valid dl path libinheritance.so while looking for libinheritance
[ Info: /root/.julia/packages/CxxWrap/sarOk/deps/usr/lib/libinheritance.so matches our search criteria of libinheritance
[ Info: Found a valid dl path libcxxwrap_julia.so while looking for libparametric
[ Info: Found a valid dl path libcxxwrap_julia.so.0 while looking for libparametric
[ Info: Found a valid dl path libcxxwrap_julia.so.0.5.3 while looking for libparametric
[ Info: Found a valid dl path libexcept.so while looking for libparametric
[ Info: Found a valid dl path libextended.so while looking for libparametric
[ Info: Found a valid dl path libfunctions.so while looking for libparametric
[ Info: Found a valid dl path libhello.so while looking for libparametric
[ Info: Found a valid dl path libinheritance.so while looking for libparametric
[ Info: Found a valid dl path libjlcxx_containers.so while looking for libparametric
[ Info: Found a valid dl path libparametric.so while looking for libparametric
[ Info: /root/.julia/packages/CxxWrap/sarOk/deps/usr/lib/libparametric.so matches our search criteria of libparametric
[ Info: Found a valid dl path libcxxwrap_julia.so while looking for libpointer_modification
[ Info: Found a valid dl path libcxxwrap_julia.so.0 while looking for libpointer_modification
[ Info: Found a valid dl path libcxxwrap_julia.so.0.5.3 while looking for libpointer_modification
[ Info: Found a valid dl path libexcept.so while looking for libpointer_modification
[ Info: Found a valid dl path libextended.so while looking for libpointer_modification
[ Info: Found a valid dl path libfunctions.so while looking for libpointer_modification
[ Info: Found a valid dl path libhello.so while looking for libpointer_modification
[ Info: Found a valid dl path libinheritance.so while looking for libpointer_modification
[ Info: Found a valid dl path libjlcxx_containers.so while looking for libpointer_modification
[ Info: Found a valid dl path libparametric.so while looking for libpointer_modification
[ Info: Found a valid dl path libpointer_modification.so while looking for libpointer_modification
[ Info: /root/.julia/packages/CxxWrap/sarOk/deps/usr/lib/libpointer_modification.so matches our search criteria of libpointer_modification
[ Info: Found a valid dl path libcxxwrap_julia.so while looking for libtypes
[ Info: Found a valid dl path libcxxwrap_julia.so.0 while looking for libtypes
[ Info: Found a valid dl path libcxxwrap_julia.so.0.5.3 while looking for libtypes
[ Info: Found a valid dl path libexcept.so while looking for libtypes
[ Info: Found a valid dl path libextended.so while looking for libtypes
[ Info: Found a valid dl path libfunctions.so while looking for libtypes
[ Info: Found a valid dl path libhello.so while looking for libtypes
[ Info: Found a valid dl path libinheritance.so while looking for libtypes
[ Info: Found a valid dl path libjlcxx_containers.so while looking for libtypes
[ Info: Found a valid dl path libparametric.so while looking for libtypes
[ Info: Found a valid dl path libpointer_modification.so while looking for libtypes
[ Info: Found a valid dl path libtypes.so while looking for libtypes
[ Info: /root/.julia/packages/CxxWrap/sarOk/deps/usr/lib/libtypes.so matches our search criteria of libtypes
Running tests from containers.jl...
Displaying const matrix
3×2 ConstArray{Float64,2}:
 1.0  4.0
 2.0  5.0
 3.0  6.0
Displaying mutable matrix
3×2 Array{Float64,2}:
 1.0  4.0
 2.0  5.0
 3.0  6.0
Running tests from deps.jl...
Running tests from except.jl...
exception 1
exception 2
exception 3
Running tests from extended_module.jl...
Running tests from functions.jl...
methods(CppHalfFunctions.half_d) = # 1 method for generic function "half_d":
[1] half_d(arg1::Union{Float64, Int64, Irrational}) in Main.CppHalfFunctions
c_func = #= /root/.julia/packages/CxxWrap/sarOk/test/functions.jl:65 =# @safe_cfunction(testf, Float64, (Float64, Float64)) = CxxWrap.SafeCFunction(Ptr{Nothing} @0x00007f64c290cbe0, Float64, Type[Float64, Float64])
callback result for function 0x7f64c290cbe0 is 3
callback result for function 0x7f64c290cbe0 is 3
callback in Julia: calledFromCPP = 3.0
callback in Julia: calledFromCPP = 3.0
---- Half test timings ----
Julia test:
  0.123946 seconds (128 allocations: 7.938 KiB)
  0.103486 seconds (4 allocations: 160 bytes)
  0.107606 seconds (4 allocations: 160 bytes)
C test:
  0.212901 seconds (135 allocations: 8.203 KiB)
  0.194660 seconds (4 allocations: 160 bytes)
  0.189124 seconds (4 allocations: 160 bytes)
C++ test:
  0.281958 seconds (7 allocations: 384 bytes)
  0.290912 seconds (4 allocations: 160 bytes)
  0.313424 seconds (4 allocations: 160 bytes)
C++ lambda test:
  0.584103 seconds (7 allocations: 384 bytes)
  0.626936 seconds (4 allocations: 160 bytes)
  0.670605 seconds (4 allocations: 160 bytes)
C++ test, loop in the C++ code:
  0.088117 seconds (39 allocations: 2.672 KiB)
  0.083228 seconds (4 allocations: 160 bytes)
  0.082628 seconds (4 allocations: 160 bytes)
cfunction in C++ loop
  0.547027 seconds (5.47 k allocations: 306.747 KiB)
  0.552204 seconds (4 allocations: 160 bytes)
  0.564738 seconds (4 allocations: 160 bytes)
jl_call inside C++ loop (array is 100 times smaller than other tests):
  0.207071 seconds (1.00 M allocations: 15.520 MiB)
  0.196860 seconds (1.00 M allocations: 15.259 MiB)
  0.143762 seconds (1.00 M allocations: 15.259 MiB)
Running tests from hello.jl...
CppHello.greet() = "hello, world"
Running tests from inheritance.jl...
Running tests from parametric.jl...
Dumping object p1:
Main.ParametricTypes.TemplateTypeAllocated{Main.ParametricTypes.P1,Main.ParametricTypes.P2}
  cpp_object: Ptr{Nothing} @0x0000000001b12440
Running tests from pointer_modification.jl...
Running tests from types.jl...
Dumping type w...
Main.CppTypes.WorldAllocated
  cpp_object: Ptr{Nothing} @0x00000000059b4730
fw = CppTypes.world_factory() = Main.CppTypes.WorldRef(Ptr{Nothing} @0x00000000059d2c50)
0 
1 
2 
0 
2 
4 
Destroying World with message shared factory hello ref
Destroying World with message reset shared pointer
uwf = CppTypes.unique_world_factory() = CxxWrap.SmartPointerWithDeref{Main.CppTypes.World,:St10unique_ptrIiSt14default_deleteIiEE}(Ptr{Nothing} @0x0000000002140e20)
Destroying World with message world by value hello
CppTypes.greet(w) = "hello"
Destroying World with message constructed
finalized w
throw test 1 passed
throw test 2 passed
completed deepcopy test
a: 2.0, b: 3.0
CppTypes.name(foovec[1]) = "a"
CppTypes.data(foovec[1]) = [1.0, 2.0, 3.0]
a: 1 2 3
b: 11 12 13
CppTypes.increment_immutable(imm) = Main.CppTypes.ImmutableBits(2.0, 3.0)
WARNING: replacing module CppTypes.
Warning: re-registering type DoubleData
Warning: re-registering type DoubleData
Warning: re-registering type DoubleData
Warning: re-registering type World
Warning: re-registering type World
Warning: re-registering type World
Warning: re-registering type Array
Warning: re-registering type Array
Warning: re-registering type Array
Warning: re-registering type NonCopyable
Warning: re-registering type NonCopyable
Warning: re-registering type NonCopyable
Warning: re-registering type AConstRef
Warning: re-registering type AConstRef
Warning: re-registering type AConstRef
Warning: re-registering type ReturnConstRef
Warning: re-registering type ReturnConstRef
Warning: re-registering type ReturnConstRef
Warning: re-registering type CallOperator
Warning: re-registering type CallOperator
Warning: re-registering type CallOperator
Warning: re-registering type ConstPtrConstruct
Warning: re-registering type ConstPtrConstruct
Warning: re-registering type ConstPtrConstruct
Warning: re-registering type MyEnum
Warning: re-registering type Foo
Warning: re-registering type Foo
Warning: re-registering type Foo
Warning: re-registering type NullableStruct
Warning: re-registering type NullableStruct
Warning: re-registering type NullableStruct
Warning: re-registering type ImmutableBits
Dumping type w...
Main.CppTypes.WorldAllocated
  cpp_object: Ptr{Nothing} @0x0000000005acc8a0
fw = CppTypes.world_factory() = Main.CppTypes.WorldRef(Ptr{Nothing} @0x0000000008a3f980)
Destroying World with message shared factory hello ref
Destroying World with message reset shared pointer
uwf = CppTypes.unique_world_factory() = CxxWrap.SmartPointerWithDeref{Main.CppTypes.World,:St10unique_ptrIiSt14default_deleteIiEE}(Ptr{Nothing} @0x0000000008a75bc0)
Destroying World with message world by value hello
CppTypes.greet(w) = "hello"
Destroying World with message constructed
finalized w
throw test 1 passed
throw test 2 passed
completed deepcopy test
a: 2.0, b: 3.0
CppTypes.name(foovec[1]) = "a"
CppTypes.data(foovec[1]) = [1.0, 2.0, 3.0]
a: 1 2 3
b: 11 12 13
CppTypes.increment_immutable(imm) = Main.CppTypes.ImmutableBits(2.0, 3.0)
Test Summary: | Pass  Total
CxxWrap tests |  217    217
Destroying World with message default hello
Destroying World with message constructed
Destroying World with message world by value hello
Destroying World with message unique factory hello
Destroying World with message shared factory hello
Destroying World with message hello
Destroying World with message default hello
Destroying World with message constructed
Destroying World with message world by value hello
Destroying World with message unique factory hello
Destroying World with message shared factory hello
Destroying World with message hello
Destroying World with message reffed world
Destroying World with message boxed world pointer
Destroying World with message boxed world
Destroying World with message shared factory hello ref
   Testing CxxWrap tests passed