#26608 success

Note

octaspirestringt: add two functions and unit tests

afae38foctaspire

Owner
~octaspire
Created
6 months ago
Updated
6 months ago
Build manifest
view manifest »

Tasks

view log »
setup view log »
build-devel view log »
test-devel view log »
valgrind-devel view log »
build-release view log »
test-release view log »
cppcheck view log »
codestyle view log »
go to bottom »
setup
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
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
[#26608] 2019/02/06 20:47:50 Booting image debian/stretch (default) on port 22136
[#26608] 2019/02/06 20:47:54 Waiting for guest to settle
[#26608] 2019/02/06 20:48:15 Sending tasks
[#26608] 2019/02/06 20:48:19 Sending build environment
[#26608] 2019/02/06 20:48:19 Cloning repositories
Cloning into 'core'...
+ cd core
+ git checkout -q afae38f1f80bda4f9b9d68205606251172080534
[#26608] 2019/02/06 20:48:25 Installing packages
Could not create directory '/home/builds/.ssh'.
Warning: Permanently added '[localhost]:22136' (ECDSA) to the list of known hosts.
Ign:1 http://deb.debian.org/debian stretch InRelease
Hit:2 http://deb.debian.org/debian stretch Release
Reading package lists...
Could not create directory '/home/builds/.ssh'.
Warning: Permanently added '[localhost]:22136' (ECDSA) to the list of known hosts.
Reading package lists...
Building dependency tree...
Reading state information...
build-essential is already the newest version (12.3).
The following additional packages will be installed:
  file gdb libbabeltrace-ctf1 libbabeltrace1 libboost-chrono1.62.0
  libboost-date-time1.62.0 libboost-filesystem1.62.0
  libboost-program-options1.62.0 libboost-system1.62.0 libboost-thread1.62.0
  libboost-wave1.62.0 libc6-dbg libdw1 libmagic-mgc libmagic1 libmpdec2
  libpython-stdlib libpython2.7-minimal libpython2.7-stdlib libpython3.5
  libpython3.5-minimal libpython3.5-stdlib libtcl8.6 libtinyxml2-4
  mime-support python python-chardet python-minimal python-pkg-resources
  python-pygments python2.7 python2.7-minimal valgrind-dbg
Suggested packages:
  gdb-doc gdbserver tcl8.6 python-doc python-tk python-setuptools
  ttf-bitstream-vera python2.7-doc binfmt-support valgrind-mpi kcachegrind
  alleyoop valkyrie
The following NEW packages will be installed:
  cppcheck file gdb libbabeltrace-ctf1 libbabeltrace1 libboost-chrono1.62.0
  libboost-date-time1.62.0 libboost-filesystem1.62.0
  libboost-program-options1.62.0 libboost-system1.62.0 libboost-thread1.62.0
  libboost-wave1.62.0 libc6-dbg libdw1 libmagic-mgc libmagic1 libmpdec2
  libpython-stdlib libpython2.7-minimal libpython2.7-stdlib libpython3.5
  libpython3.5-minimal libpython3.5-stdlib libtcl8.6 libtinyxml2-4
  mime-support python python-chardet python-minimal python-pkg-resources
  python-pygments python2.7 python2.7-minimal valgrind valgrind-dbg vera++
0 upgraded, 36 newly installed, 0 to remove and 0 not upgraded.
Need to get 65.4 MB of archives.
After this operation, 291 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian stretch/main amd64 libpython2.7-minimal amd64 2.7.13-2+deb9u3 [389 kB]
Get:2 http://deb.debian.org/debian stretch/main amd64 python2.7-minimal amd64 2.7.13-2+deb9u3 [1382 kB]
Get:3 http://deb.debian.org/debian stretch/main amd64 python-minimal amd64 2.7.13-2 [40.5 kB]
Get:4 http://deb.debian.org/debian stretch/main amd64 mime-support all 3.60 [36.7 kB]
Get:5 http://deb.debian.org/debian stretch/main amd64 libpython2.7-stdlib amd64 2.7.13-2+deb9u3 [1897 kB]
Get:6 http://deb.debian.org/debian stretch/main amd64 python2.7 amd64 2.7.13-2+deb9u3 [285 kB]
Get:7 http://deb.debian.org/debian stretch/main amd64 libpython-stdlib amd64 2.7.13-2 [20.0 kB]
Get:8 http://deb.debian.org/debian stretch/main amd64 python amd64 2.7.13-2 [154 kB]
Get:9 http://deb.debian.org/debian stretch/main amd64 libmagic-mgc amd64 1:5.30-1+deb9u2 [222 kB]
Get:10 http://deb.debian.org/debian stretch/main amd64 libmagic1 amd64 1:5.30-1+deb9u2 [111 kB]
Get:11 http://deb.debian.org/debian stretch/main amd64 file amd64 1:5.30-1+deb9u2 [64.1 kB]
Get:12 http://deb.debian.org/debian stretch/main amd64 libtinyxml2-4 amd64 4.0.1-1 [25.9 kB]
Get:13 http://deb.debian.org/debian stretch/main amd64 python-pygments all 2.2.0+dfsg-1 [590 kB]
Get:14 http://deb.debian.org/debian stretch/main amd64 cppcheck amd64 1.76.1-1 [836 kB]
Get:15 http://deb.debian.org/debian stretch/main amd64 libdw1 amd64 0.168-1 [205 kB]
Get:16 http://deb.debian.org/debian stretch/main amd64 libbabeltrace1 amd64 1.5.1-1 [50.1 kB]
Get:17 http://deb.debian.org/debian stretch/main amd64 libbabeltrace-ctf1 amd64 1.5.1-1 [141 kB]
Get:18 http://deb.debian.org/debian stretch/main amd64 libpython3.5-minimal amd64 3.5.3-1+deb9u1 [573 kB]
Get:19 http://deb.debian.org/debian stretch/main amd64 libmpdec2 amd64 2.4.2-1 [85.2 kB]
Get:20 http://deb.debian.org/debian stretch/main amd64 libpython3.5-stdlib amd64 3.5.3-1+deb9u1 [2167 kB]
Get:21 http://deb.debian.org/debian stretch/main amd64 libpython3.5 amd64 3.5.3-1+deb9u1 [1372 kB]
Get:22 http://deb.debian.org/debian stretch/main amd64 gdb amd64 7.12-6 [2722 kB]
Get:23 http://deb.debian.org/debian stretch/main amd64 libboost-system1.62.0 amd64 1.62.0+dfsg-4 [32.4 kB]
Get:24 http://deb.debian.org/debian stretch/main amd64 libboost-chrono1.62.0 amd64 1.62.0+dfsg-4 [36.0 kB]
Get:25 http://deb.debian.org/debian stretch/main amd64 libboost-date-time1.62.0 amd64 1.62.0+dfsg-4 [42.9 kB]
Get:26 http://deb.debian.org/debian stretch/main amd64 libboost-filesystem1.62.0 amd64 1.62.0+dfsg-4 [63.2 kB]
Get:27 http://deb.debian.org/debian stretch/main amd64 libboost-program-options1.62.0 amd64 1.62.0+dfsg-4 [159 kB]
Get:28 http://deb.debian.org/debian stretch/main amd64 libboost-thread1.62.0 amd64 1.62.0+dfsg-4 [71.5 kB]
Get:29 http://deb.debian.org/debian stretch/main amd64 libboost-wave1.62.0 amd64 1.62.0+dfsg-4 [203 kB]
Get:30 http://deb.debian.org/debian stretch/main amd64 libtcl8.6 amd64 8.6.6+dfsg-1+b1 [985 kB]
Get:31 http://deb.debian.org/debian stretch/main amd64 python-pkg-resources all 33.1.1-1 [166 kB]
Get:32 http://deb.debian.org/debian stretch/main amd64 python-chardet all 2.3.0-2 [96.0 kB]
Get:33 http://deb.debian.org/debian stretch/main amd64 libc6-dbg amd64 2.24-11+deb9u3 [9106 kB]
Get:34 http://deb.debian.org/debian stretch/main amd64 valgrind amd64 1:3.12.0~svn20160714-1+b1 [8749 kB]
Get:35 http://deb.debian.org/debian stretch/main amd64 valgrind-dbg amd64 1:3.12.0~svn20160714-1+b1 [32.2 MB]
Get:36 http://deb.debian.org/debian stretch/main amd64 vera++ amd64 1.2.1-2+b4 [127 kB]

Extracting templates from packages: 83%
Extracting templates from packages: 100%
Fetched 65.4 MB in 6s (9754 kB/s)
Selecting previously unselected package libpython2.7-minimal:amd64.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 27152 files and directories currently installed.)
Preparing to unpack .../0-libpython2.7-minimal_2.7.13-2+deb9u3_amd64.deb ...
Unpacking libpython2.7-minimal:amd64 (2.7.13-2+deb9u3) ...
Selecting previously unselected package python2.7-minimal.
Preparing to unpack .../1-python2.7-minimal_2.7.13-2+deb9u3_amd64.deb ...
Unpacking python2.7-minimal (2.7.13-2+deb9u3) ...
Selecting previously unselected package python-minimal.
Preparing to unpack .../2-python-minimal_2.7.13-2_amd64.deb ...
Unpacking python-minimal (2.7.13-2) ...
Selecting previously unselected package mime-support.
Preparing to unpack .../3-mime-support_3.60_all.deb ...
Unpacking mime-support (3.60) ...
Selecting previously unselected package libpython2.7-stdlib:amd64.
Preparing to unpack .../4-libpython2.7-stdlib_2.7.13-2+deb9u3_amd64.deb ...
Unpacking libpython2.7-stdlib:amd64 (2.7.13-2+deb9u3) ...
Selecting previously unselected package python2.7.
Preparing to unpack .../5-python2.7_2.7.13-2+deb9u3_amd64.deb ...
Unpacking python2.7 (2.7.13-2+deb9u3) ...
Selecting previously unselected package libpython-stdlib:amd64.
Preparing to unpack .../6-libpython-stdlib_2.7.13-2_amd64.deb ...
Unpacking libpython-stdlib:amd64 (2.7.13-2) ...
Setting up libpython2.7-minimal:amd64 (2.7.13-2+deb9u3) ...
Setting up python2.7-minimal (2.7.13-2+deb9u3) ...
Setting up python-minimal (2.7.13-2) ...
Selecting previously unselected package python.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 27923 files and directories currently installed.)
Preparing to unpack .../00-python_2.7.13-2_amd64.deb ...
Unpacking python (2.7.13-2) ...
Selecting previously unselected package libmagic-mgc.
Preparing to unpack .../01-libmagic-mgc_1%3a5.30-1+deb9u2_amd64.deb ...
Unpacking libmagic-mgc (1:5.30-1+deb9u2) ...
Selecting previously unselected package libmagic1:amd64.
Preparing to unpack .../02-libmagic1_1%3a5.30-1+deb9u2_amd64.deb ...
Unpacking libmagic1:amd64 (1:5.30-1+deb9u2) ...
Selecting previously unselected package file.
Preparing to unpack .../03-file_1%3a5.30-1+deb9u2_amd64.deb ...
Unpacking file (1:5.30-1+deb9u2) ...
Selecting previously unselected package libtinyxml2-4:amd64.
Preparing to unpack .../04-libtinyxml2-4_4.0.1-1_amd64.deb ...
Unpacking libtinyxml2-4:amd64 (4.0.1-1) ...
Selecting previously unselected package python-pygments.
Preparing to unpack .../05-python-pygments_2.2.0+dfsg-1_all.deb ...
Unpacking python-pygments (2.2.0+dfsg-1) ...
Selecting previously unselected package cppcheck.
Preparing to unpack .../06-cppcheck_1.76.1-1_amd64.deb ...
Unpacking cppcheck (1.76.1-1) ...
Selecting previously unselected package libdw1:amd64.
Preparing to unpack .../07-libdw1_0.168-1_amd64.deb ...
Unpacking libdw1:amd64 (0.168-1) ...
Selecting previously unselected package libbabeltrace1:amd64.
Preparing to unpack .../08-libbabeltrace1_1.5.1-1_amd64.deb ...
Unpacking libbabeltrace1:amd64 (1.5.1-1) ...
Selecting previously unselected package libbabeltrace-ctf1:amd64.
Preparing to unpack .../09-libbabeltrace-ctf1_1.5.1-1_amd64.deb ...
Unpacking libbabeltrace-ctf1:amd64 (1.5.1-1) ...
Selecting previously unselected package libpython3.5-minimal:amd64.
Preparing to unpack .../10-libpython3.5-minimal_3.5.3-1+deb9u1_amd64.deb ...
Unpacking libpython3.5-minimal:amd64 (3.5.3-1+deb9u1) ...
Selecting previously unselected package libmpdec2:amd64.
Preparing to unpack .../11-libmpdec2_2.4.2-1_amd64.deb ...
Unpacking libmpdec2:amd64 (2.4.2-1) ...
Selecting previously unselected package libpython3.5-stdlib:amd64.
Preparing to unpack .../12-libpython3.5-stdlib_3.5.3-1+deb9u1_amd64.deb ...
Unpacking libpython3.5-stdlib:amd64 (3.5.3-1+deb9u1) ...
Selecting previously unselected package libpython3.5:amd64.
Preparing to unpack .../13-libpython3.5_3.5.3-1+deb9u1_amd64.deb ...
Unpacking libpython3.5:amd64 (3.5.3-1+deb9u1) ...
Selecting previously unselected package gdb.
Preparing to unpack .../14-gdb_7.12-6_amd64.deb ...
Unpacking gdb (7.12-6) ...
Selecting previously unselected package libboost-system1.62.0:amd64.
Preparing to unpack .../15-libboost-system1.62.0_1.62.0+dfsg-4_amd64.deb ...
Unpacking libboost-system1.62.0:amd64 (1.62.0+dfsg-4) ...
Selecting previously unselected package libboost-chrono1.62.0:amd64.
Preparing to unpack .../16-libboost-chrono1.62.0_1.62.0+dfsg-4_amd64.deb ...
Unpacking libboost-chrono1.62.0:amd64 (1.62.0+dfsg-4) ...
Selecting previously unselected package libboost-date-time1.62.0:amd64.
Preparing to unpack .../17-libboost-date-time1.62.0_1.62.0+dfsg-4_amd64.deb ...
Unpacking libboost-date-time1.62.0:amd64 (1.62.0+dfsg-4) ...
Selecting previously unselected package libboost-filesystem1.62.0:amd64.
Preparing to unpack .../18-libboost-filesystem1.62.0_1.62.0+dfsg-4_amd64.deb ...
Unpacking libboost-filesystem1.62.0:amd64 (1.62.0+dfsg-4) ...
Selecting previously unselected package libboost-program-options1.62.0:amd64.
Preparing to unpack .../19-libboost-program-options1.62.0_1.62.0+dfsg-4_amd64.deb ...
Unpacking libboost-program-options1.62.0:amd64 (1.62.0+dfsg-4) ...
Selecting previously unselected package libboost-thread1.62.0:amd64.
Preparing to unpack .../20-libboost-thread1.62.0_1.62.0+dfsg-4_amd64.deb ...
Unpacking libboost-thread1.62.0:amd64 (1.62.0+dfsg-4) ...
Selecting previously unselected package libboost-wave1.62.0:amd64.
Preparing to unpack .../21-libboost-wave1.62.0_1.62.0+dfsg-4_amd64.deb ...
Unpacking libboost-wave1.62.0:amd64 (1.62.0+dfsg-4) ...
Selecting previously unselected package libtcl8.6:amd64.
Preparing to unpack .../22-libtcl8.6_8.6.6+dfsg-1+b1_amd64.deb ...
Unpacking libtcl8.6:amd64 (8.6.6+dfsg-1+b1) ...
Selecting previously unselected package python-pkg-resources.
Preparing to unpack .../23-python-pkg-resources_33.1.1-1_all.deb ...
Unpacking python-pkg-resources (33.1.1-1) ...
Selecting previously unselected package python-chardet.
Preparing to unpack .../24-python-chardet_2.3.0-2_all.deb ...
Unpacking python-chardet (2.3.0-2) ...
Selecting previously unselected package libc6-dbg:amd64.
Preparing to unpack .../25-libc6-dbg_2.24-11+deb9u3_amd64.deb ...
Unpacking libc6-dbg:amd64 (2.24-11+deb9u3) ...
Selecting previously unselected package valgrind.
Preparing to unpack .../26-valgrind_1%3a3.12.0~svn20160714-1+b1_amd64.deb ...
Unpacking valgrind (1:3.12.0~svn20160714-1+b1) ...
Selecting previously unselected package valgrind-dbg.
Preparing to unpack .../27-valgrind-dbg_1%3a3.12.0~svn20160714-1+b1_amd64.deb ...
Unpacking valgrind-dbg (1:3.12.0~svn20160714-1+b1) ...
Selecting previously unselected package vera++.
Preparing to unpack .../28-vera++_1.2.1-2+b4_amd64.deb ...
Unpacking vera++ (1.2.1-2+b4) ...
Setting up libc6-dbg:amd64 (2.24-11+deb9u3) ...
Setting up libboost-date-time1.62.0:amd64 (1.62.0+dfsg-4) ...
Setting up mime-support (3.60) ...
Setting up libdw1:amd64 (0.168-1) ...
Setting up libboost-program-options1.62.0:amd64 (1.62.0+dfsg-4) ...
Setting up libmagic-mgc (1:5.30-1+deb9u2) ...
Setting up libmagic1:amd64 (1:5.30-1+deb9u2) ...
Setting up libtinyxml2-4:amd64 (4.0.1-1) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Setting up valgrind (1:3.12.0~svn20160714-1+b1) ...
Setting up libtcl8.6:amd64 (8.6.6+dfsg-1+b1) ...
Setting up libpython2.7-stdlib:amd64 (2.7.13-2+deb9u3) ...
Setting up libbabeltrace1:amd64 (1.5.1-1) ...
Setting up libmpdec2:amd64 (2.4.2-1) ...
Setting up libboost-system1.62.0:amd64 (1.62.0+dfsg-4) ...
Setting up libpython3.5-minimal:amd64 (3.5.3-1+deb9u1) ...
Setting up valgrind-dbg (1:3.12.0~svn20160714-1+b1) ...
Setting up libboost-thread1.62.0:amd64 (1.62.0+dfsg-4) ...
Setting up libpython3.5-stdlib:amd64 (3.5.3-1+deb9u1) ...
Setting up python2.7 (2.7.13-2+deb9u3) ...
Setting up file (1:5.30-1+deb9u2) ...
Setting up libpython-stdlib:amd64 (2.7.13-2) ...
Setting up libboost-filesystem1.62.0:amd64 (1.62.0+dfsg-4) ...
Setting up libbabeltrace-ctf1:amd64 (1.5.1-1) ...
Setting up python (2.7.13-2) ...
Setting up libboost-chrono1.62.0:amd64 (1.62.0+dfsg-4) ...
Setting up libboost-wave1.62.0:amd64 (1.62.0+dfsg-4) ...
Setting up vera++ (1.2.1-2+b4) ...
Setting up libpython3.5:amd64 (3.5.3-1+deb9u1) ...
Setting up python-pkg-resources (33.1.1-1) ...
Setting up python-pygments (2.2.0+dfsg-1) ...
Setting up gdb (7.12-6) ...
Setting up cppcheck (1.76.1-1) ...
Setting up python-chardet (2.3.0-2) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
[#26608] 2019/02/06 20:49:01 Running task setup
[#26608] 2019/02/06 20:49:01 Running task build-devel
[#26608] 2019/02/06 20:49:07 Running task test-devel
[#26608] 2019/02/06 20:49:19 Running task valgrind-devel
[#26608] 2019/02/06 20:49:23 Running task build-release
[#26608] 2019/02/06 20:49:35 Running task test-release
[#26608] 2019/02/06 20:49:35 Running task cppcheck
[#26608] 2019/02/06 20:49:37 Running task codestyle
setup
1
2
3
4
+ cd core
+ make submodules-init
Initializing submodules...
Done.
build-devel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
+ cd core
+ make all
CC  dev/test/test.c
CC  dev/test/test_helpers.c
CC  dev/test/test_input.c
CC  dev/test/test_list.c
CC  dev/test/test_map.c
CC  dev/test/test_memory.c
CC  dev/test/test_pair.c
CC  dev/test/test_queue.c
CC  dev/test/test_stdio.c
CC  dev/test/test_string.c
CC  dev/test/test_utf8.c
CC  dev/test/test_vector.c
CC  dev/test/test_semver.c
CC  dev/external/jenkins_one_at_a_time.c
LD  octaspire-core-unit-test-runner
test-devel
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
+ cd core
+ ./octaspire-core-unit-test-runner --write-test-files
  ___     _                _            ___             
 / _ \ __| |_ __ _ ____ __(_)_ _ ___   / __|___ _ _ ___ 
| (_) / _|  _/ _` (_-< '_ \ | '_/ -_) | (__/ _ \ '_/ -_)
 \___/\__|\__\__,_/__/ .__/_|_| \___|  \___\___/_| \___|
  Amalgamated version|_|stand-alone unit test runner    

  Octaspire Core version 0.119.0

  This is stand-alone unit test runner for the amalgamated version of
  Octaspire Core. Some of the unit tests test reading of files from
  the filesystem. The full source distribution has these files in
  the 'test/resource' directory. But because this amalgamated
  distribution can have only one file, to be able to run all
  the tests succesfully something must be done. What do you
  want to do? Select 'a', 'b', 'c' or any other key:

  a) Let this program to write those files to disk to the current working
     directory. All existing files with the same name will be OVERWRITTEN.
     The files to be written are of form 'octaspire_XYZ_test', where XYZ
     is the name of the test.

  b) Let those tests to fail on missing files, or succeed if the files are
     already present in the current working directory.

  c) Abort and quit this program.

  > Option 'a' given with command line argument.
Writing test files to current working directory...
  Wrote empty file 'octaspire_helpers_path_to_buffer_failure_on_empty_file_test'
  Wrote file 'octaspire_helpers_path_to_buffer_test'
  Wrote file 'octaspire_input_new_from_path_test'
  Wrote file 'octaspire_stdio_fread_test'
Done.

* Suite octaspire_helpers_suite:
......................................
38 tests - 38 passed, 0 failed, 0 skipped (1831 ticks, 0.002 sec)

* Suite octaspire_utf8_suite:
......................................................................
70 tests - 70 passed, 0 failed, 0 skipped (787 ticks, 0.001 sec)

* Suite octaspire_memory_suite:
......
6 tests - 6 passed, 0 failed, 0 skipped (60 ticks, 0.000 sec)

* Suite octaspire_stdio_suite:
....
4 tests - 4 passed, 0 failed, 0 skipped (42 ticks, 0.000 sec)

* Suite octaspire_input_suite:
.................
17 tests - 17 passed, 0 failed, 0 skipped (136 ticks, 0.000 sec)

* Suite octaspire_vector_suite:
........................................................................
..................
90 tests - 90 passed, 0 failed, 0 skipped (1540 ticks, 0.002 sec)

* Suite octaspire_list_suite:
.....................
21 tests - 21 passed, 0 failed, 0 skipped (429 ticks, 0.000 sec)

* Suite octaspire_queue_suite:
...................
19 tests - 19 passed, 0 failed, 0 skipped (10558 ticks, 0.011 sec)

* Suite octaspire_string_suite:
........................................................................
........................
96 tests - 96 passed, 0 failed, 0 skipped (4995 ticks, 0.005 sec)

* Suite octaspire_pair_suite:
.........................
25 tests - 25 passed, 0 failed, 0 skipped (331 ticks, 0.000 sec)

* Suite octaspire_map_suite:
...............
15 tests - 15 passed, 0 failed, 0 skipped (2103 ticks, 0.002 sec)

* Suite octaspire_semver_suite:
.....................................................
53 tests - 53 passed, 0 failed, 0 skipped (2053 ticks, 0.002 sec)

Total: 454 tests (24937 ticks, 0.025 sec), 87578 assertions
Pass: 454, fail: 0, skip: 0.
+ make test
Building for Linux...
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
Done.
  ___     _                _            ___             
 / _ \ __| |_ __ _ ____ __(_)_ _ ___   / __|___ _ _ ___ 
| (_) / _|  _/ _` (_-< '_ \ | '_/ -_) | (__/ _ \ '_/ -_)
 \___/\__|\__\__,_/__/ .__/_|_| \___|  \___\___/_| \___|
  Amalgamated version|_|stand-alone unit test runner    

  Octaspire Core version 0.119.0

  This is stand-alone unit test runner for the amalgamated version of
  Octaspire Core. Some of the unit tests test reading of files from
  the filesystem. The full source distribution has these files in
  the 'test/resource' directory. But because this amalgamated
  distribution can have only one file, to be able to run all
  the tests succesfully something must be done. What do you
  want to do? Select 'a', 'b', 'c' or any other key:

  a) Let this program to write those files to disk to the current working
     directory. All existing files with the same name will be OVERWRITTEN.
     The files to be written are of form 'octaspire_XYZ_test', where XYZ
     is the name of the test.

  b) Let those tests to fail on missing files, or succeed if the files are
     already present in the current working directory.

  c) Abort and quit this program.

  > Option 'a' given with command line argument.
Writing test files to current working directory...
  Wrote empty file 'octaspire_helpers_path_to_buffer_failure_on_empty_file_test'
  Wrote file 'octaspire_helpers_path_to_buffer_test'
  Wrote file 'octaspire_input_new_from_path_test'
  Wrote file 'octaspire_stdio_fread_test'
Done.

* Suite octaspire_helpers_suite:
......................................
38 tests - 38 passed, 0 failed, 0 skipped (1108 ticks, 0.001 sec)

* Suite octaspire_utf8_suite:
......................................................................
70 tests - 70 passed, 0 failed, 0 skipped (841 ticks, 0.001 sec)

* Suite octaspire_memory_suite:
......
6 tests - 6 passed, 0 failed, 0 skipped (31 ticks, 0.000 sec)

* Suite octaspire_stdio_suite:
....
4 tests - 4 passed, 0 failed, 0 skipped (36 ticks, 0.000 sec)

* Suite octaspire_input_suite:
.................
17 tests - 17 passed, 0 failed, 0 skipped (82 ticks, 0.000 sec)

* Suite octaspire_vector_suite:
........................................................................
..................
90 tests - 90 passed, 0 failed, 0 skipped (1203 ticks, 0.001 sec)

* Suite octaspire_list_suite:
.....................
21 tests - 21 passed, 0 failed, 0 skipped (167 ticks, 0.000 sec)

* Suite octaspire_queue_suite:
...................
19 tests - 19 passed, 0 failed, 0 skipped (2625 ticks, 0.003 sec)

* Suite octaspire_string_suite:
........................................................................
........................
96 tests - 96 passed, 0 failed, 0 skipped (3532 ticks, 0.004 sec)

* Suite octaspire_semver_suite:
.....................................................
53 tests - 53 passed, 0 failed, 0 skipped (1424 ticks, 0.001 sec)

* Suite octaspire_pair_suite:
.........................
25 tests - 25 passed, 0 failed, 0 skipped (342 ticks, 0.000 sec)

* Suite octaspire_map_suite:
...............
15 tests - 15 passed, 0 failed, 0 skipped (1121 ticks, 0.001 sec)

Total: 454 tests (12598 ticks, 0.013 sec), 87578 assertions
Pass: 454, fail: 0, skip: 0.
valgrind-devel
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
+ cd core
+ make valgrind
==1490== Memcheck, a memory error detector
==1490== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==1490== Using Valgrind-3.12.0.SVN and LibVEX; rerun with -h for copyright info
==1490== Command: release/octaspire-core-unit-test-runner --write-test-files
==1490== 
  ___     _                _            ___             
 / _ \ __| |_ __ _ ____ __(_)_ _ ___   / __|___ _ _ ___ 
| (_) / _|  _/ _` (_-< '_ \ | '_/ -_) | (__/ _ \ '_/ -_)
 \___/\__|\__\__,_/__/ .__/_|_| \___|  \___\___/_| \___|
  Amalgamated version|_|stand-alone unit test runner    

  Octaspire Core version 0.119.0

  This is stand-alone unit test runner for the amalgamated version of
  Octaspire Core. Some of the unit tests test reading of files from
  the filesystem. The full source distribution has these files in
  the 'test/resource' directory. But because this amalgamated
  distribution can have only one file, to be able to run all
  the tests succesfully something must be done. What do you
  want to do? Select 'a', 'b', 'c' or any other key:

  a) Let this program to write those files to disk to the current working
     directory. All existing files with the same name will be OVERWRITTEN.
     The files to be written are of form 'octaspire_XYZ_test', where XYZ
     is the name of the test.

  b) Let those tests to fail on missing files, or succeed if the files are
     already present in the current working directory.

  c) Abort and quit this program.

  > Option 'a' given with command line argument.
Writing test files to current working directory...
  Wrote empty file 'octaspire_helpers_path_to_buffer_failure_on_empty_file_test'
  Wrote file 'octaspire_helpers_path_to_buffer_test'
  Wrote file 'octaspire_input_new_from_path_test'
  Wrote file 'octaspire_stdio_fread_test'
Done.

* Suite octaspire_helpers_suite:
......................................
38 tests - 38 passed, 0 failed, 0 skipped (200439 ticks, 0.200 sec)

* Suite octaspire_utf8_suite:
......................................................................
70 tests - 70 passed, 0 failed, 0 skipped (120118 ticks, 0.120 sec)

* Suite octaspire_memory_suite:
......
6 tests - 6 passed, 0 failed, 0 skipped (18963 ticks, 0.019 sec)

* Suite octaspire_stdio_suite:
....
4 tests - 4 passed, 0 failed, 0 skipped (15275 ticks, 0.015 sec)

* Suite octaspire_input_suite:
.................
17 tests - 17 passed, 0 failed, 0 skipped (70134 ticks, 0.070 sec)

* Suite octaspire_vector_suite:
........................................................................
..................
90 tests - 90 passed, 0 failed, 0 skipped (390811 ticks, 0.391 sec)

* Suite octaspire_list_suite:
.....................
21 tests - 21 passed, 0 failed, 0 skipped (76987 ticks, 0.077 sec)

* Suite octaspire_queue_suite:
...................
19 tests - 19 passed, 0 failed, 0 skipped (242743 ticks, 0.243 sec)

* Suite octaspire_string_suite:
........................................................................
........................
96 tests - 96 passed, 0 failed, 0 skipped (552941 ticks, 0.553 sec)

* Suite octaspire_semver_suite:
.....................................................
53 tests - 53 passed, 0 failed, 0 skipped (343373 ticks, 0.343 sec)

* Suite octaspire_pair_suite:
.........................
25 tests - 25 passed, 0 failed, 0 skipped (63643 ticks, 0.064 sec)

* Suite octaspire_map_suite:
...............
15 tests - 15 passed, 0 failed, 0 skipped (189523 ticks, 0.190 sec)

Total: 454 tests (2328838 ticks, 2.329 sec), 87578 assertions
Pass: 454, fail: 0, skip: 0.
==1490== 
==1490== HEAP SUMMARY:
==1490==     in use at exit: 0 bytes in 0 blocks
==1490==   total heap usage: 35,968 allocs, 35,968 frees, 1,294,068 bytes allocated
==1490== 
==1490== All heap blocks were freed -- no leaks are possible
==1490== 
==1490== For counts of detected and suppressed errors, rerun with: -v
==1490== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
build-release
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
+ cd core/release
+ sh how-to-build/linux.sh
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
Building stand alone unit test runner...tput: No value for $TERM and no -T specified

gcc -O2 -std=c99 -Wall -Wextra -DOCTASPIRE_CORE_AMALGAMATED_UNIT_TEST_IMPLEMENTATION -DGREATEST_ENABLE_ANSI_COLORS -I . octaspire-core-amalgamated.c -lm -o octaspire-core-unit-test-runner 
RUN WITH ./octaspire-core-unit-test-runner

Building example...
gcc -O2 -std=c99 -Wall -Wextra -I . examples/example.c -lm -o example 
RUN WITH ./example

test-release
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
+ cd core/release
+ ./octaspire-core-unit-test-runner --write-test-files
  ___     _                _            ___             
 / _ \ __| |_ __ _ ____ __(_)_ _ ___   / __|___ _ _ ___ 
| (_) / _|  _/ _` (_-< '_ \ | '_/ -_) | (__/ _ \ '_/ -_)
 \___/\__|\__\__,_/__/ .__/_|_| \___|  \___\___/_| \___|
  Amalgamated version|_|stand-alone unit test runner    

  Octaspire Core version 0.119.0

  This is stand-alone unit test runner for the amalgamated version of
  Octaspire Core. Some of the unit tests test reading of files from
  the filesystem. The full source distribution has these files in
  the 'test/resource' directory. But because this amalgamated
  distribution can have only one file, to be able to run all
  the tests succesfully something must be done. What do you
  want to do? Select 'a', 'b', 'c' or any other key:

  a) Let this program to write those files to disk to the current working
     directory. All existing files with the same name will be OVERWRITTEN.
     The files to be written are of form 'octaspire_XYZ_test', where XYZ
     is the name of the test.

  b) Let those tests to fail on missing files, or succeed if the files are
     already present in the current working directory.

  c) Abort and quit this program.

  > Option 'a' given with command line argument.
Writing test files to current working directory...
  Wrote empty file 'octaspire_helpers_path_to_buffer_failure_on_empty_file_test'
  Wrote file 'octaspire_helpers_path_to_buffer_test'
  Wrote file 'octaspire_input_new_from_path_test'
  Wrote file 'octaspire_stdio_fread_test'
Done.

* Suite octaspire_helpers_suite:
......................................
38 tests - 38 passed, 0 failed, 0 skipped (1220 ticks, 0.001 sec)

* Suite octaspire_utf8_suite:
......................................................................
70 tests - 70 passed, 0 failed, 0 skipped (783 ticks, 0.001 sec)

* Suite octaspire_memory_suite:
......
6 tests - 6 passed, 0 failed, 0 skipped (29 ticks, 0.000 sec)

* Suite octaspire_stdio_suite:
....
4 tests - 4 passed, 0 failed, 0 skipped (40 ticks, 0.000 sec)

* Suite octaspire_input_suite:
.................
17 tests - 17 passed, 0 failed, 0 skipped (96 ticks, 0.000 sec)

* Suite octaspire_vector_suite:
........................................................................
..................
90 tests - 90 passed, 0 failed, 0 skipped (954 ticks, 0.001 sec)

* Suite octaspire_list_suite:
.....................
21 tests - 21 passed, 0 failed, 0 skipped (186 ticks, 0.000 sec)

* Suite octaspire_queue_suite:
...................
19 tests - 19 passed, 0 failed, 0 skipped (2908 ticks, 0.003 sec)

* Suite octaspire_string_suite:
........................................................................
........................
96 tests - 96 passed, 0 failed, 0 skipped (3389 ticks, 0.003 sec)

* Suite octaspire_semver_suite:
.....................................................
53 tests - 53 passed, 0 failed, 0 skipped (1893 ticks, 0.002 sec)

* Suite octaspire_pair_suite:
.........................
25 tests - 25 passed, 0 failed, 0 skipped (206 ticks, 0.000 sec)

* Suite octaspire_map_suite:
...............
15 tests - 15 passed, 0 failed, 0 skipped (1228 ticks, 0.001 sec)

Total: 454 tests (12992 ticks, 0.013 sec), 87578 assertions
Pass: 454, fail: 0, skip: 0.
cppcheck
1
2
+ cd core
+ make cppcheck
codestyle
1
2
+ cd core
+ make codestyle
Build complete: success 6 months ago (took a minute)