Debian Codegraph @

src/runner.c

raw symbols SCIP
1 #cxx . . $ `<file>/src/runner.c`/include <cgreen/assertions.h>cxx . . $ `<file>/include/cgreen/assertions.h`/
2 #include <cgreen/mocks.h>cxx . . $ `<file>/include/cgreen/mocks.h`/
3 #include <cgreen/reporter.h>cxx . . $ `<file>/include/cgreen/reporter.h`/
4 #include <cgreen/suite.h>cxx . . $ `<file>/include/cgreen/suite.h`/
5 #include <cgreen/internal/runner_platform.h>cxx . . $ `<file>/include/cgreen/internal/runner_platform.h`/
6 #include <stdarg.h>
7 #include <stdio.h>
8 #include <stdlib.h>
9 #include <string.h>
10 #include <sys/types.h>
11 #include <unistd.h>
12 #include <cgreen/internal/cgreen_time.h>cxx . . $ `<file>/include/cgreen/internal/cgreen_time.h`/
13
14 #include "runner.h"cxx . . $ `<file>/src/runner.h`/
15
16 #ifdef __ANDROID__
17 #include "cgreen/internal/android_headers/androidcompat.h"
18 #endif // #ifdef __ANDROID__
19
20 // Export the current running test
21 CgreenTestcxx . . $ CgreenTest# *current_testcxx . . $ current_test.;
22
23 static const char *CGREEN_PER_TEST_TIMEOUT_ENVIRONMENT_VARIABLEcxx . . $ CGREEN_PER_TEST_TIMEOUT_ENVIRONMENT_VARIABLE. = "CGREEN_PER_TEST_TIMEOUT";
24
25 static void run_every_testcxx . . $ run_every_test(fd56715dd2ba0781).(TestSuitecxx . . $ TestSuite# *suite, TestReportercxx . . $ TestReporter# *reporter);
26 static void run_named_testcxx . . $ run_named_test(4aa72b38dbe2730e).(TestSuitecxx . . $ TestSuite# *suite, const char *name, TestReportercxx . . $ TestReporter# *reporter);
27
28 static void run_test_in_the_current_processcxx . . $ run_test_in_the_current_process(3d0ff4d36cb88b8a).(TestSuitecxx . . $ TestSuite# *suite, CgreenTestcxx . . $ CgreenTest# *test, TestReportercxx . . $ TestReporter# *reporter);
29
30 static int per_test_timeout_definedcxx . . $ per_test_timeout_defined(b126dc7c1de90089).(void);
31 static int per_test_timeout_valuecxx . . $ per_test_timeout_value(b126dc7c1de90089).(void);
32 static void validate_per_test_timeout_valuecxx . . $ validate_per_test_timeout_value(49f6e7a06ebc5aa8).(void);
33
34 int run_test_suitecxx . . $ run_test_suite(963404fcd5b06580).(TestSuitecxx . . $ TestSuite# *suite, TestReportercxx . . $ TestReporter# *reporter)
35 {
36 int success;
37 if (per_test_timeout_definedcxx . . $ per_test_timeout_defined(b126dc7c1de90089).())
38 {
39 validate_per_test_timeout_valuecxx . . $ validate_per_test_timeout_value(49f6e7a06ebc5aa8).();
40 }
41
42 setup_reportingcxx . . $ setup_reporting(1083e9dac9de8fd0).(reporter);
43 run_every_testcxx . . $ run_every_test(fd56715dd2ba0781).(suite, reporter);
44 success = (reporter->total_failurescxx . . $ TestReporter_#total_failures. == 0) && (reporter->total_exceptionscxx . . $ TestReporter_#total_exceptions. == 0);
45 return success ? EXIT_SUCCESScxx . . $ `<external>/10696550936717951914/stdlib.h:97:9`! : EXIT_FAILUREcxx . . $ `<external>/10696550936717951914/stdlib.h:96:9`!;
46 }
47
48 int run_single_testcxx . . $ run_single_test(fc951a2ce7a72251).(TestSuitecxx . . $ TestSuite# *suite, const char *name, TestReportercxx . . $ TestReporter# *reporter)
49 {
50 int success;
51 if (per_test_timeout_definedcxx . . $ per_test_timeout_defined(b126dc7c1de90089).())
52 {
53 validate_per_test_timeout_valuecxx . . $ validate_per_test_timeout_value(49f6e7a06ebc5aa8).();
54 }
55
56 setup_reportingcxx . . $ setup_reporting(1083e9dac9de8fd0).(reporter);
57 run_named_testcxx . . $ run_named_test(4aa72b38dbe2730e).(suite, name, reporter);
58 success = (reporter->total_failurescxx . . $ TestReporter_#total_failures. == 0);
59 return success ? EXIT_SUCCESScxx . . $ `<external>/10696550936717951914/stdlib.h:97:9`! : EXIT_FAILUREcxx . . $ `<external>/10696550936717951914/stdlib.h:96:9`!;
60 }
61
62 static void run_every_testcxx . . $ run_every_test(fd56715dd2ba0781).(TestSuitecxx . . $ TestSuite# *suite, TestReportercxx . . $ TestReporter# *reporter)
63 {
64 int i;
65
66 run_specified_test_if_childcxx . . $ run_specified_test_if_child(fd56715dd2ba0781).(suite, reporter);
67
68 uint32_tcxx . . $ uint32_t# total_test_starting_milliseconds = cgreen_time_get_current_millisecondscxx . . $ cgreen_time_get_current_milliseconds(db52760e79bf9054).();
69 (*reporter->start_suitecxx . . $ TestReporter_#start_suite.)(reporter, suite->namecxx . . $ TestSuite_#name., count_testscxx . . $ count_tests(e967fa3a12241ee1).(suite));
70
71 // Run sub-suites first
72 for (i = 0; i < suite->sizecxx . . $ TestSuite_#size.; i++)
73 {
74 if (suite->testscxx . . $ TestSuite_#tests.[i].typecxx . . $ $anonymous_type_8d37910ccb4823a7_1#type. != test_functioncxx . . $ test_function.)
75 {
76 (*suite->setupcxx . . $ TestSuite_#setup.)();
77 run_every_testcxx . . $ run_every_test(fd56715dd2ba0781).(suite->testscxx . . $ TestSuite_#tests.[i].Runnablecxx . . $ $anonymous_type_8d37910ccb4823a7_1#Runnable..suitecxx . . $ $anonymous_type_8d37910ccb4823a7_1#$anonymous_type_2#suite., reporter);
78 (*suite->teardowncxx . . $ TestSuite_#teardown.)();
79 }
80 }
81
82 // Reset counters for top-level tests
83 reporter->passescxx . . $ TestReporter_#passes. = 0;
84 reporter->failurescxx . . $ TestReporter_#failures. = 0;
85 reporter->skipscxx . . $ TestReporter_#skips. = 0;
86 reporter->exceptionscxx . . $ TestReporter_#exceptions. = 0;
87
88 uint32_tcxx . . $ uint32_t# test_starting_milliseconds = cgreen_time_get_current_millisecondscxx . . $ cgreen_time_get_current_milliseconds(db52760e79bf9054).();
89
90 // Run top-level tests
91 for (i = 0; i < suite->sizecxx . . $ TestSuite_#size.; i++)
92 {
93 if (suite->testscxx . . $ TestSuite_#tests.[i].typecxx . . $ $anonymous_type_8d37910ccb4823a7_1#type. == test_functioncxx . . $ test_function.)
94 {
95 if (getenvcxx . . $ getenv(a8b8e32347182212).("CGREEN_NO_FORK") == NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!)
96 run_test_in_its_own_processcxx . . $ run_test_in_its_own_process(3d0ff4d36cb88b8a).(suite, suite->testscxx . . $ TestSuite_#tests.[i].Runnablecxx . . $ $anonymous_type_8d37910ccb4823a7_1#Runnable..testcxx . . $ $anonymous_type_8d37910ccb4823a7_1#$anonymous_type_2#test., reporter);
97 else
98 run_test_in_the_current_processcxx . . $ run_test_in_the_current_process(3d0ff4d36cb88b8a).(suite, suite->testscxx . . $ TestSuite_#tests.[i].Runnablecxx . . $ $anonymous_type_8d37910ccb4823a7_1#Runnable..testcxx . . $ $anonymous_type_8d37910ccb4823a7_1#$anonymous_type_2#test., reporter);
99 }
100 }
101
102 reporter->durationcxx . . $ TestReporter_#duration. = cgreen_time_duration_in_millisecondscxx . . $ cgreen_time_duration_in_milliseconds(83f10ac8959d5577).(test_starting_milliseconds,
103 cgreen_time_get_current_millisecondscxx . . $ cgreen_time_get_current_milliseconds(db52760e79bf9054).());
104 reporter->total_durationcxx . . $ TestReporter_#total_duration. = cgreen_time_duration_in_millisecondscxx . . $ cgreen_time_duration_in_milliseconds(83f10ac8959d5577).(total_test_starting_milliseconds,
105 cgreen_time_get_current_millisecondscxx . . $ cgreen_time_get_current_milliseconds(db52760e79bf9054).());
106 send_reporter_completion_notificationcxx . . $ send_reporter_completion_notification(1083e9dac9de8fd0).(reporter);
107 (*reporter->finish_suitecxx . . $ TestReporter_#finish_suite.)(reporter, suite->filenamecxx . . $ TestSuite_#filename., suite->linecxx . . $ TestSuite_#line.);
108 }
109
110 static void run_named_testcxx . . $ run_named_test(4aa72b38dbe2730e).(TestSuitecxx . . $ TestSuite# *suite, const char *name, TestReportercxx . . $ TestReporter# *reporter)
111 {
112 int i;
113
114 uint32_tcxx . . $ uint32_t# total_test_starting_milliseconds = cgreen_time_get_current_millisecondscxx . . $ cgreen_time_get_current_milliseconds(db52760e79bf9054).();
115
116 (*reporter->start_suitecxx . . $ TestReporter_#start_suite.)(reporter, suite->namecxx . . $ TestSuite_#name., count_testscxx . . $ count_tests(e967fa3a12241ee1).(suite));
117 for (i = 0; i < suite->sizecxx . . $ TestSuite_#size.; i++)
118 {
119 if (suite->testscxx . . $ TestSuite_#tests.[i].typecxx . . $ $anonymous_type_8d37910ccb4823a7_1#type. != test_functioncxx . . $ test_function. &&
120 has_testcxx . . $ has_test(af8bda7240bc769a).(suite->testscxx . . $ TestSuite_#tests.[i].Runnablecxx . . $ $anonymous_type_8d37910ccb4823a7_1#Runnable..suitecxx . . $ $anonymous_type_8d37910ccb4823a7_1#$anonymous_type_2#suite., name))
121 {
122 (*suite->setupcxx . . $ TestSuite_#setup.)();
123 run_named_testcxx . . $ run_named_test(4aa72b38dbe2730e).(suite->testscxx . . $ TestSuite_#tests.[i].Runnablecxx . . $ $anonymous_type_8d37910ccb4823a7_1#Runnable..suitecxx . . $ $anonymous_type_8d37910ccb4823a7_1#$anonymous_type_2#suite., name, reporter);
124 (*suite->teardowncxx . . $ TestSuite_#teardown.)();
125 }
126 }
127
128 // Reset counters for top-level tests
129 reporter->passescxx . . $ TestReporter_#passes. = 0;
130 reporter->failurescxx . . $ TestReporter_#failures. = 0;
131 reporter->skipscxx . . $ TestReporter_#skips. = 0;
132 reporter->exceptionscxx . . $ TestReporter_#exceptions. = 0;
133
134 uint32_tcxx . . $ uint32_t# test_starting_milliseconds = cgreen_time_get_current_millisecondscxx . . $ cgreen_time_get_current_milliseconds(db52760e79bf9054).();
135
136 for (i = 0; i < suite->sizecxx . . $ TestSuite_#size.; i++)
137 {
138 if (suite->testscxx . . $ TestSuite_#tests.[i].typecxx . . $ $anonymous_type_8d37910ccb4823a7_1#type. == test_functioncxx . . $ test_function.)
139 {
140 if (strcmpcxx . . $ strcmp(5ae29d726ae57f88).(suite->testscxx . . $ TestSuite_#tests.[i].namecxx . . $ $anonymous_type_8d37910ccb4823a7_1#name., name) == 0)
141 {
142 run_test_in_the_current_processcxx . . $ run_test_in_the_current_process(3d0ff4d36cb88b8a).(suite, suite->testscxx . . $ TestSuite_#tests.[i].Runnablecxx . . $ $anonymous_type_8d37910ccb4823a7_1#Runnable..testcxx . . $ $anonymous_type_8d37910ccb4823a7_1#$anonymous_type_2#test., reporter);
143 }
144 }
145 }
146
147 reporter->durationcxx . . $ TestReporter_#duration. = cgreen_time_duration_in_millisecondscxx . . $ cgreen_time_duration_in_milliseconds(83f10ac8959d5577).(test_starting_milliseconds,
148 cgreen_time_get_current_millisecondscxx . . $ cgreen_time_get_current_milliseconds(db52760e79bf9054).());
149 reporter->total_durationcxx . . $ TestReporter_#total_duration. = cgreen_time_duration_in_millisecondscxx . . $ cgreen_time_duration_in_milliseconds(83f10ac8959d5577).(total_test_starting_milliseconds,
150 cgreen_time_get_current_millisecondscxx . . $ cgreen_time_get_current_milliseconds(db52760e79bf9054).());
151
152 send_reporter_completion_notificationcxx . . $ send_reporter_completion_notification(1083e9dac9de8fd0).(reporter);
153 (*reporter->finish_suitecxx . . $ TestReporter_#finish_suite.)(reporter, suite->filenamecxx . . $ TestSuite_#filename., suite->linecxx . . $ TestSuite_#line.);
154 }
155
156 static void run_test_in_the_current_processcxx . . $ run_test_in_the_current_process(3d0ff4d36cb88b8a).(TestSuitecxx . . $ TestSuite# *suite, CgreenTestcxx . . $ CgreenTest# *test, TestReportercxx . . $ TestReporter# *reporter)
157 {
158 uint32_tcxx . . $ uint32_t# test_starting_milliseconds = cgreen_time_get_current_millisecondscxx . . $ cgreen_time_get_current_milliseconds(db52760e79bf9054).();
159
160 (*reporter->start_testcxx . . $ TestReporter_#start_test.)(reporter, test->namecxx . . $ $anonymous_type_2148a7db88bac269_1#name.);
161 if (test->skipcxx . . $ $anonymous_type_2148a7db88bac269_1#skip.)
162 {
163 send_reporter_skipped_notificationcxx . . $ send_reporter_skipped_notification(1083e9dac9de8fd0).(reporter);
164 }
165 else
166 {
167 run_the_test_codecxx . . $ run_the_test_code(3d0ff4d36cb88b8a).(suite, test, reporter);
168 reporter->durationcxx . . $ TestReporter_#duration. = cgreen_time_duration_in_millisecondscxx . . $ cgreen_time_duration_in_milliseconds(83f10ac8959d5577).(test_starting_milliseconds,
169 cgreen_time_get_current_millisecondscxx . . $ cgreen_time_get_current_milliseconds(db52760e79bf9054).());
170
171 send_reporter_completion_notificationcxx . . $ send_reporter_completion_notification(1083e9dac9de8fd0).(reporter);
172 }
173 (*reporter->finish_testcxx . . $ TestReporter_#finish_test.)(reporter, test->filenamecxx . . $ $anonymous_type_2148a7db88bac269_1#filename., test->linecxx . . $ $anonymous_type_2148a7db88bac269_1#line., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!);
174 }
175
176 static int per_test_timeout_definedcxx . . $ per_test_timeout_defined(b126dc7c1de90089).(void)
177 {
178 return getenvcxx . . $ getenv(a8b8e32347182212).(CGREEN_PER_TEST_TIMEOUT_ENVIRONMENT_VARIABLEcxx . . $ CGREEN_PER_TEST_TIMEOUT_ENVIRONMENT_VARIABLE.) != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!;
179 }
180
181 static int per_test_timeout_valuecxx . . $ per_test_timeout_value(b126dc7c1de90089).(void)
182 {
183 char *timeout_string;
184 int timeout_value;
185
186 if (!per_test_timeout_definedcxx . . $ per_test_timeout_defined(b126dc7c1de90089).())
187 {
188 diecxx . . $ die(326aeb464d16410c).("attempt to fetch undefined value for %s\n", CGREEN_PER_TEST_TIMEOUT_ENVIRONMENT_VARIABLEcxx . . $ CGREEN_PER_TEST_TIMEOUT_ENVIRONMENT_VARIABLE.);
189 }
190
191 timeout_string = getenvcxx . . $ getenv(a8b8e32347182212).(CGREEN_PER_TEST_TIMEOUT_ENVIRONMENT_VARIABLEcxx . . $ CGREEN_PER_TEST_TIMEOUT_ENVIRONMENT_VARIABLE.);
192 timeout_value = atoicxx . . $ atoi(5c4306d8553b3696).(timeout_string);
193
194 return timeout_value;
195 }
196
197 static void validate_per_test_timeout_valuecxx . . $ validate_per_test_timeout_value(49f6e7a06ebc5aa8).(void)
198 {
199 int timeout = per_test_timeout_valuecxx . . $ per_test_timeout_value(b126dc7c1de90089).();
200
201 if (timeout <= 0)
202 {
203 diecxx . . $ die(326aeb464d16410c).("invalid value for %s environment variable: %d\n", CGREEN_PER_TEST_TIMEOUT_ENVIRONMENT_VARIABLEcxx . . $ CGREEN_PER_TEST_TIMEOUT_ENVIRONMENT_VARIABLE., timeout);
204 }
205 }
206
207 static void run_setup_forcxx . . $ run_setup_for(998161662eec0639).(CgreenTestcxx . . $ CgreenTest# *spec)
208 {
209 #ifdef __cplusplus
210 std::string message = "an exception was thrown during setup: ";
211 try
212 {
213 #endif
214 spec->contextcxx . . $ $anonymous_type_2148a7db88bac269_1#context.->setupcxx . . $ $anonymous_type_2148a7db88bac269_0#setup.();
215 #ifdef __cplusplus
216 return;
217 }
218 catch (const std::exception &exception)
219 {
220 message += '[';
221 message += exception.what();
222 message += ']';
223 }
224 catch (const std::exception *exception)
225 {
226 message += '[';
227 message += exception->what();
228 message += ']';
229 }
230 catch (const std::string &exception_message)
231 {
232 message += '[';
233 message += exception_message;
234 message += ']';
235 }
236 catch (const std::string *exception_message)
237 {
238 message += '[';
239 message += *exception_message;
240 message += ']';
241 }
242 catch (const char *exception_message)
243 {
244 message += '[';
245 message += exception_message;
246 message += ']';
247 }
248 catch (...)
249 {
250 message += "unknown exception type";
251 }
252 va_list no_arguments;
253 memset(&no_arguments, 0, sizeof(va_list));
254 TestReporter *reporter = get_test_reporter();
255 reporter->show_incomplete(reporter, spec->filename, spec->line, message.c_str(), no_arguments);
256 send_reporter_exception_notification(reporter);
257 #endif
258 }
259
260 static void run_teardown_forcxx . . $ run_teardown_for(998161662eec0639).(CgreenTestcxx . . $ CgreenTest# *spec)
261 {
262 #ifdef __cplusplus
263 std::string message = "an exception was thrown during teardown: ";
264 try
265 {
266 #endif
267 spec->contextcxx . . $ $anonymous_type_2148a7db88bac269_1#context.->teardowncxx . . $ $anonymous_type_2148a7db88bac269_0#teardown.();
268 #ifdef __cplusplus
269 return;
270 }
271 catch (const std::exception &exception)
272 {
273 message += '[';
274 message += exception.what();
275 message += ']';
276 }
277 catch (const std::exception *exception)
278 {
279 message += '[';
280 message += exception->what();
281 message += ']';
282 }
283 catch (const std::string &exception_message)
284 {
285 message += '[';
286 message += exception_message;
287 message += ']';
288 }
289 catch (const std::string *exception_message)
290 {
291 message += '[';
292 message += *exception_message;
293 message += ']';
294 }
295 catch (const char *exception_message)
296 {
297 message += '[';
298 message += exception_message;
299 message += ']';
300 }
301 catch (...)
302 {
303 message += "unknown exception type";
304 }
305 va_list no_arguments;
306 memset(&no_arguments, 0, sizeof(va_list));
307 TestReporter *reporter = get_test_reporter();
308 reporter->show_incomplete(reporter, spec->filename, spec->line, message.c_str(), no_arguments);
309 send_reporter_exception_notification(reporter);
310 #endif
311 }
312
313 /**
314 run()
315
316 N.B. Although this is neither an API or public function, it is
317 documented as a good place to put a breakpoint. Do not change the
318 name or semantics of this function, it should continue to be very
319 close to the test code. */
320 static void runcxx . . $ run(998161662eec0639).(CgreenTestcxx . . $ CgreenTest# *spec)
321 {
322 #ifdef __cplusplus
323 std::string message = "an exception was thrown during test: ";
324 try
325 {
326 #endif
327 current_testcxx . . $ current_test. = spec;
328 spec->runcxx . . $ $anonymous_type_2148a7db88bac269_1#run.();
329 #ifdef __cplusplus
330 return;
331 }
332 catch (const std::exception &exception)
333 {
334 message += '[';
335 message += exception.what();
336 message += ']';
337 }
338 catch (const std::exception *exception)
339 {
340 message += '[';
341 message += exception->what();
342 message += ']';
343 }
344 catch (const std::string &exception_message)
345 {
346 message += '[';
347 message += exception_message;
348 message += ']';
349 }
350 catch (const std::string *exception_message)
351 {
352 message += '[';
353 message += *exception_message;
354 message += ']';
355 }
356 catch (const char *exception_message)
357 {
358 message += '[';
359 message += exception_message;
360 message += ']';
361 }
362 catch (...)
363 {
364 message += "unknown exception type";
365 }
366 va_list no_arguments;
367 memset(&no_arguments, 0, sizeof(va_list));
368 TestReporter *reporter = get_test_reporter();
369 reporter->show_incomplete(reporter, spec->filename, spec->line, message.c_str(), no_arguments);
370 send_reporter_exception_notification(reporter);
371 #endif
372 }
373
374 void run_the_test_codecxx . . $ run_the_test_code(3d0ff4d36cb88b8a).(TestSuitecxx . . $ TestSuite# *suite, CgreenTestcxx . . $ CgreenTest# *spec, TestReportercxx . . $ TestReporter# *reporter)
375 {
376 significant_figures_for_assert_double_arecxx . . $ significant_figures_for_assert_double_are(d4f767463ce0a6b3).(8);
377 clear_mockscxx . . $ clear_mocks(49f6e7a06ebc5aa8).();
378
379 if (per_test_timeout_definedcxx . . $ per_test_timeout_defined(b126dc7c1de90089).())
380 {
381 validate_per_test_timeout_valuecxx . . $ validate_per_test_timeout_value(49f6e7a06ebc5aa8).();
382
383 die_incxx . . $ die_in(cb2f890c2fdad230).(per_test_timeout_valuecxx . . $ per_test_timeout_value(b126dc7c1de90089).());
384 }
385
386 // for historical reasons the suite can have a setup
387 if (has_setupcxx . . $ has_setup(f644169072b4999c).(suite))
388 {
389 (*suite->setupcxx . . $ TestSuite_#setup.)();
390 }
391 else
392 {
393 if (spec->contextcxx . . $ $anonymous_type_2148a7db88bac269_1#context.->setupcxx . . $ $anonymous_type_2148a7db88bac269_0#setup. != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!)
394 {
395 run_setup_forcxx . . $ run_setup_for(998161662eec0639).(spec);
396 }
397 }
398
399 runcxx . . $ run(998161662eec0639).(spec);
400 // for historical reasons the suite can have a teardown
401 if (has_teardowncxx . . $ has_teardown(f644169072b4999c).(suite))
402 {
403 (*suite->teardowncxx . . $ TestSuite_#teardown.)();
404 }
405 else
406 {
407 if (spec->contextcxx . . $ $anonymous_type_2148a7db88bac269_1#context.->teardowncxx . . $ $anonymous_type_2148a7db88bac269_0#teardown. != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!)
408 {
409 run_teardown_forcxx . . $ run_teardown_for(998161662eec0639).(spec);
410 }
411 }
412
413 tally_mockscxx . . $ tally_mocks(1083e9dac9de8fd0).(reporter);
414 }
415
416 void diecxx . . $ die(326aeb464d16410c).(const char *message, ...)
417 {
418 va_listcxx . . $ va_list# arguments;
419 va_startcxx . . $ `<external>/8293021631987149590/stdarg.h:51:9`!(arguments, message);
420 vprintfcxx . . $ vprintf(5c80dbd47e6ebfbb).(message, arguments);
421 va_endcxx . . $ `<external>/8293021631987149590/stdarg.h:53:9`!(arguments);
422 exitcxx . . $ exit(3ca292c338df9bb3).(EXIT_FAILUREcxx . . $ `<external>/10696550936717951914/stdlib.h:96:9`!);
423 }
424
425 /* vim: set ts=4 sw=4 et cindent: */