-
Notifications
You must be signed in to change notification settings - Fork 5
/
1.6.0-DEV-0669b64613.log
249 lines (248 loc) · 7.8 KB
/
1.6.0-DEV-0669b64613.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
Julia Version 1.6.0-DEV.1153
Commit 0669b64613 (2020-10-07 09:01 UTC)
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU: AMD EPYC 7502 32-Core Processor
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-10.0.1 (ORCJIT, znver2)
Environment:
JULIA_DEPOT_PATH = ::/usr/local/share/julia
JULIA_NUM_THREADS = 2
Resolving package versions...
Installed libcxxwrap_julia_jll ─ v0.8.0+0
Installed MacroTools ─────────── v0.5.5
Installed CxxWrap ────────────── v0.11.0
Updating `~/.julia/environments/v1.6/Project.toml`
[1f15a43c] + CxxWrap v0.11.0
Updating `~/.julia/environments/v1.6/Manifest.toml`
[1f15a43c] + CxxWrap v0.11.0
[1914dd2f] + MacroTools v0.5.5
[3eaa8342] + libcxxwrap_julia_jll v0.8.0+0
[56f22d72] + Artifacts
[2a0f44e3] + Base64
[ade2ca70] + Dates
[b77e0a4c] + InteractiveUtils
[76f85450] + LibGit2
[8f399da3] + Libdl
[d6f4376e] + Markdown
[44cfe95a] + Pkg
[de0858da] + Printf
[3fa0cd96] + REPL
[9a3f8284] + Random
[ea8e919c] + SHA
[9e88b42a] + Serialization
[6462fe0b] + Sockets
[fa267f1f] + TOML
[cf7118a7] + UUIDs
[4ec0a83e] + Unicode
Testing CxxWrap
Status `/tmp/jl_fE264X/Project.toml`
[6e4b80f9] BenchmarkTools v0.5.0
[1f15a43c] CxxWrap v0.11.0
[1914dd2f] MacroTools v0.5.5
[3eaa8342] libcxxwrap_julia_jll v0.8.0+0
[8f399da3] Libdl
[8dfed614] Test
Status `/tmp/jl_fE264X/Manifest.toml`
[6e4b80f9] BenchmarkTools v0.5.0
[1f15a43c] CxxWrap v0.11.0
[682c06a0] JSON v0.21.1
[1914dd2f] MacroTools v0.5.5
[69de0a69] Parsers v1.0.11
[3eaa8342] libcxxwrap_julia_jll v0.8.0+0
[56f22d72] Artifacts
[2a0f44e3] Base64
[ade2ca70] Dates
[b77e0a4c] InteractiveUtils
[76f85450] LibGit2
[8f399da3] Libdl
[37e2e46d] LinearAlgebra
[56ddb016] Logging
[d6f4376e] Markdown
[a63ad114] Mmap
[44cfe95a] Pkg
[de0858da] Printf
[3fa0cd96] REPL
[9a3f8284] Random
[ea8e919c] SHA
[9e88b42a] Serialization
[6462fe0b] Sockets
[2f01184e] SparseArrays
[10745b16] Statistics
[fa267f1f] TOML
[8dfed614] Test
[cf7118a7] UUIDs
[4ec0a83e] Unicode
Testing Running tests...
Running tests from basic_types.jl...
char -> CxxChar
signed char -> Int8
unsigned char -> UInt8
short -> Int16
unsigned short -> UInt16
int -> Int32
unsigned int -> UInt32
long -> Int64
unsigned long -> UInt64
long long -> CxxLongLong
unsigned long long -> CxxULongLong
int8_t -> Int8
uint8_t -> UInt8
int16_t -> Int16
uint16_t -> UInt16
int32_t -> Int32
uint32_t -> UInt32
int64_t -> Int64
uint64_t -> UInt64
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 Matrix{Float64}:
1.0 4.0
2.0 5.0
3.0 6.0
Running tests from cxxdereference.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 at /home/pkgeval/.julia/packages/CxxWrap/ZOkSN/src/CxxWrap.jl:590
callback result for function 0x7fd9fc188ff0 is 3
callback result for function 0x7fd9fc188ff0 is 3
callback in Julia: calledFromCPP = 3.0
callback in Julia: calledFromCPP = 3.0
---- Half test timings ----
Julia test:
0.155883 seconds
0.162060 seconds
0.157251 seconds
C test:
0.206443 seconds
0.212163 seconds
0.259562 seconds
C++ test:
0.249737 seconds
0.270622 seconds
0.276255 seconds
C++ lambda test:
0.362484 seconds
0.353180 seconds
0.314140 seconds
C++ test, loop in the C++ code:
0.053725 seconds
0.060498 seconds
0.056249 seconds
cfunction in C++ loop
0.362396 seconds
0.333253 seconds
0.325888 seconds
jl_call inside C++ loop (array is 100 times smaller than other tests):
0.075576 seconds (1000.00 k allocations: 15.259 MiB)
0.074443 seconds (1000.00 k allocations: 15.259 MiB)
0.075194 seconds (1000.00 k 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} @0x0000000003627100
Running tests from pointer_modification.jl...
value timing:
6.485 ns (0 allocations: 0 bytes)
Running tests from stdlib.jl...
This prints a test string: test
StdWString(s) = "šČô_φ_привет_일보"
StdWString(s) = "😄😈😼"
StdString(s) = "café"
valarr2 = [1.0, 6.0, 3.0]
Running tests from types.jl...
Dumping type w...
Main.CppTypes.WorldAllocated
cpp_object: Ptr{Nothing} @0x0000000003da5160
fw = CppTypes.world_factory() = CxxPtr{Main.CppTypes.World}(Ptr{Main.CppTypes.World} @0x0000000004cc74d0)
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() = C++ smart pointer of type CxxWrap.StdLib.UniquePtrAllocated{Main.CppTypes.World}
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 copy test
a: 2.0, b: 3.0
CppTypes.EnumClassBlue = Main.CppTypes.EnumClass(0x00000015)
a: 1 2 3
b: 11 12 13
Destroying World with message returned_world
Destroying World with message returned_world
Destroying World with message returned_world
Destroying World with message returned_world
Destroying World with message vvec
Destroying World with message vvec
#= /home/pkgeval/.julia/packages/CxxWrap/ZOkSN/test/types.jl:253 =# @test(CppTypes.greet(CppTypes3.vecvec(vvec2)) == "vvec") = Test Passed
Destroying World with message default hello
Destroying World with message default hello
Destroying World with message vvec
Destroying World with message vvec
Destroying World with message vvec
Destroying World with message vvec
Destroying World with message vvec
Destroying World with message default hello
Destroying World with message default hello
Destroying World with message worldalloc5
Destroying World with message worldalloc4
Destroying World with message worldalloc3
Destroying World with message worldalloc2
Destroying World with message worldalloc1
Destroying World with message worldalloc1
Destroying World with message worldalloc2
Destroying World with message worldalloc3
Destroying World with message worldalloc4
Destroying World with message worldalloc5
Destroying World with message world1
Destroying World with message world2
Destroying World with message world3
Destroying World with message world4
Destroying World with message world5
Destroying World with message worldalloc5
Destroying World with message worldalloc4
Destroying World with message worldalloc3
Destroying World with message worldalloc2
Destroying World with message worldalloc1
Destroying World with message world5
Destroying World with message world4
Destroying World with message world3
Destroying World with message world2
Destroying World with message world1
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
100000 allocations took 0.015100501 s
Test Summary: | Pass Total
CxxWrap tests | 359 359
Destroying World with message returned_world_ref
Destroying World with message returned_world_ptr
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