Debian Codegraph @

tools/cgreen-runner.c

raw symbols SCIP
1 #cxx . . $ `<file>/tools/cgreen-runner.c`/include <cgreen/cgreen.h>cxx . . $ `<file>/include/cgreen/cgreen.h`/
2 #include <cgreen/xml_reporter.h>cxx . . $ `<file>/include/cgreen/xml_reporter.h`/
3
4 #include <cgreen/vector.h>cxx . . $ `<file>/include/cgreen/vector.h`/
5
6 #include "utils.h"cxx . . $ `<file>/src/utils.h`/
7
8 #include <unistd.h>
9 #include <libgen.h>
10
11 #include "gopt.h"cxx . . $ `<file>/tools/gopt.h`/
12
13 #include "runner.h"cxx . . $ `<file>/tools/runner.h`/
14 #include "discoverer.h"cxx . . $ `<file>/tools/discoverer.h`/
15
16
17 /*----------------------------------------------------------------------*/
18 static int file_existscxx . . $ file_exists(5c4306d8553b3696).(const char *filename)
19 {
20 if (! filename) return 0;
21 return (accesscxx . . $ access(cb7559238bb26814).(filename, F_OKcxx . . $ `<external>/12628407106812493757/unistd.h:284:9`!) == 0);
22 }
23
24
25 /*----------------------------------------------------------------------*/
26 static void versioncxx . . $ version(49f6e7a06ebc5aa8).(void) {
27 printfcxx . . $ printf(581fddd72a8db8fc).("cgreen-runner for Cgreen unittest and mocking framework v%s\n", VERSIONcxx . . $ `<built-in>:411:9`!);
28 printfcxx . . $ printf(581fddd72a8db8fc).("Cgreen library version %s (%s) loaded\n", cgreen_library_versioncxx . . $ cgreen_library_version., cgreen_library_revisioncxx . . $ cgreen_library_revision.);
29 }
30
31
32 /*----------------------------------------------------------------------*/
33 static void usagecxx . . $ usage(85c52e162fed56f9).(const char *program_name) {
34 printfcxx . . $ printf(581fddd72a8db8fc).("cgreen-runner for Cgreen unittest and mocking framework v%s\n\n", VERSIONcxx . . $ `<built-in>:411:9`!);
35 printfcxx . . $ printf(581fddd72a8db8fc).("Usage:\n %s [--suite <name>] [--verbose] [--quiet] [--no-run] "
36 #if HAVE_XML_REPORTERcxx . . $ `<built-in>:410:9`!
37 "[--xml <prefix>] "
38 #endif
39 #if HAVE_LIBXML2_REPORTERcxx . . $ `<built-in>:409:9`!
40 "[--libxml2 <prefix>] "
41 #endif
42 "[--help] (<library> [<test>])+\n\n", program_name);
43 printfcxx . . $ printf(581fddd72a8db8fc).("Discover and run all or named cgreen test(s) from one or multiple\n");
44 printfcxx . . $ printf(581fddd72a8db8fc).("dynamically loadable libraries.\n\n");
45 printfcxx . . $ printf(581fddd72a8db8fc).("A single test can be run using the form [<context>:]<name> where <context> can\n");
46 printfcxx . . $ printf(581fddd72a8db8fc).("be omitted if there is no context.\n\n");
47 printfcxx . . $ printf(581fddd72a8db8fc).(" -c --colours/colors\t\tUse colours to emphasis result (requires ANSI-capable terminal)\n");
48 printfcxx . . $ printf(581fddd72a8db8fc).(" -C --no-colours/no-colors\tDon't use colours\n");
49 #if HAVE_XML_REPORTERcxx . . $ `<built-in>:410:9`!
50 printfcxx . . $ printf(581fddd72a8db8fc).(" -x --xml <prefix>\t\tInstead of messages on stdout, write results into one XML-file\n");
51 printfcxx . . $ printf(581fddd72a8db8fc).("\t\t\t\tper suite, compatible with Hudson/Jenkins CI. The filename(s)\n");
52 printfcxx . . $ printf(581fddd72a8db8fc).("\t\t\t\twill be '<prefix>-<suite>.xml'\n");
53 #endif
54 #if HAVE_LIBXML2_REPORTERcxx . . $ `<built-in>:409:9`!
55 printfcxx . . $ printf(581fddd72a8db8fc).(" -X --libxml2 <prefix>\t\tFormat the test results using libxml2\n");
56 #endif
57 printfcxx . . $ printf(581fddd72a8db8fc).(" -s --suite <name>\t\tName the top level suite\n");
58 printfcxx . . $ printf(581fddd72a8db8fc).(" -n --no-run\t\t\tDon't run the tests\n");
59 printfcxx . . $ printf(581fddd72a8db8fc).(" -v --verbose\t\t\tShow progress information\n");
60 printfcxx . . $ printf(581fddd72a8db8fc).(" -q --quiet\t\t\tOutput a single character per context ('.'=pass, 'S'=suspended, 'F'=fail, 'X'=error), then a summary\n");
61 printfcxx . . $ printf(581fddd72a8db8fc).(" --version\t\t\tShow version information\n");
62 }
63
64
65 /*======================================================================*/
66
67 enum option_argcxx . . $ option_arg# {
68 HELP_OPTcxx . . $ HELP_OPT.,
69 XML_OPTcxx . . $ XML_OPT.,
70 LIBXML2_OPTcxx . . $ LIBXML2_OPT.,
71 SUITE_OPTcxx . . $ SUITE_OPT.,
72 VERBOSE_OPTcxx . . $ VERBOSE_OPT.,
73 QUITE_OPTcxx . . $ QUITE_OPT.,
74 VERSION_OPTcxx . . $ VERSION_OPT.,
75 COLORS_OPTcxx . . $ COLORS_OPT.,
76 COLOURS_OPTcxx . . $ COLOURS_OPT.,
77 NO_COLORS_OPTcxx . . $ NO_COLORS_OPT.,
78 NO_COLOURS_OPTcxx . . $ NO_COLOURS_OPT.,
79 NO_RUN_OPTcxx . . $ NO_RUN_OPT.,
80 LAST_OPTcxx . . $ LAST_OPT.,
81 };
82
83 static struct optioncxx . . $ option# optionscxx . . $ options.[] = {
84 [HELP_OPTcxx . . $ HELP_OPT.] = {
85 .short_name = 'h',
86 .long_name = "help",
87 .flags = GOPT_ARGUMENT_FORBIDDENcxx . . $ `tools/gopt.h:44:9`!,
88 },
89 [XML_OPTcxx . . $ XML_OPT.] = {
90 #if HAVE_XML_REPORTERcxx . . $ `<built-in>:410:9`!
91 .short_name = 'x',
92 .long_name = "xml",
93 .flags = GOPT_ARGUMENT_REQUIREDcxx . . $ `tools/gopt.h:45:9`!,
94 #endif
95 },
96 [LIBXML2_OPTcxx . . $ LIBXML2_OPT.] = {
97 #if HAVE_LIBXML2_REPORTERcxx . . $ `<built-in>:409:9`!
98 .short_name = 'X',
99 .long_name = "libxml2",
100 #endif
101 .flags = GOPT_ARGUMENT_REQUIREDcxx . . $ `tools/gopt.h:45:9`!,
102 },
103 [SUITE_OPTcxx . . $ SUITE_OPT.] = {
104 .short_name = 's',
105 .long_name = "suite",
106 .flags = GOPT_ARGUMENT_REQUIREDcxx . . $ `tools/gopt.h:45:9`!,
107 },
108 [VERBOSE_OPTcxx . . $ VERBOSE_OPT.] = {
109 .short_name = 'v',
110 .long_name = "verbose",
111 .flags = GOPT_ARGUMENT_FORBIDDENcxx . . $ `tools/gopt.h:44:9`!,
112 },
113 [QUITE_OPTcxx . . $ QUITE_OPT.] = {
114 .short_name = 'q',
115 .long_name = "quiet",
116 .flags = GOPT_ARGUMENT_FORBIDDENcxx . . $ `tools/gopt.h:44:9`!,
117 },
118 [VERSION_OPTcxx . . $ VERSION_OPT.] = {
119 .short_name = 'V',
120 .long_name = "version",
121 .flags = GOPT_ARGUMENT_FORBIDDENcxx . . $ `tools/gopt.h:44:9`!,
122 },
123 [COLORS_OPTcxx . . $ COLORS_OPT.] = {
124 .short_name = 'c',
125 .long_name = "colors",
126 .flags = GOPT_ARGUMENT_FORBIDDENcxx . . $ `tools/gopt.h:44:9`!,
127 },
128 [COLOURS_OPTcxx . . $ COLOURS_OPT.] = {
129 .short_name = 'c',
130 .long_name = "colours",
131 .flags = GOPT_ARGUMENT_FORBIDDENcxx . . $ `tools/gopt.h:44:9`!,
132 },
133 [NO_COLORS_OPTcxx . . $ NO_COLORS_OPT.] = {
134 .short_name = 'C',
135 .long_name = "no-colors",
136 .flags = GOPT_ARGUMENT_FORBIDDENcxx . . $ `tools/gopt.h:44:9`!,
137 },
138 [NO_COLOURS_OPTcxx . . $ NO_COLOURS_OPT.] = {
139 .short_name = 'C',
140 .long_name = "no-colours",
141 .flags = GOPT_ARGUMENT_FORBIDDENcxx . . $ `tools/gopt.h:44:9`!,
142 },
143 [NO_RUN_OPTcxx . . $ NO_RUN_OPT.] = {
144 .short_name = 'n',
145 .long_name = "no-run",
146 .flags = GOPT_ARGUMENT_FORBIDDENcxx . . $ `tools/gopt.h:44:9`!,
147 },
148 [LAST_OPTcxx . . $ LAST_OPT.] = {
149 .flags = GOPT_LASTcxx . . $ `tools/gopt.h:52:9`!,
150 },
151 };
152 static TestReportercxx . . $ TestReporter# *reportercxx . . $ reporter. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!;
153 static TextReporterOptionscxx . . $ TextReporterOptions# reporter_optionscxx . . $ reporter_options.;
154
155 static void cleanupcxx . . $ cleanup(49f6e7a06ebc5aa8).(void)
156 {
157 if (reportercxx . . $ reporter.) reportercxx . . $ reporter.->destroycxx . . $ TestReporter_#destroy.(reportercxx . . $ reporter.);
158 }
159
160 static char* get_a_suite_namecxx . . $ get_a_suite_name(a713fe7b9a57cf96).(const char *suite_option, const char *test_library_name) {
161 if (suite_option == NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!) {
162 char *suite_name;
163 char *s;
164 /* basename can return the parameter or an internal static string. Work around this. */
165 s = string_dupcxx . . $ string_dup(a8b8e32347182212).(test_library_name);
166 suite_name = string_dupcxx . . $ string_dup(a8b8e32347182212).(basenamecxx . . $ `<external>/6296865783241590524/libgen.h:35:9`!(s));
167 freecxx . . $ free(5d22bdacc48458e8).(s);
168 if ((s = strchrcxx . . $ strchr(2050848944e00d54).(suite_name, '.'))) {
169 *s = '\0';
170 }
171 return suite_name;
172 } else {
173 return string_dupcxx . . $ string_dup(a8b8e32347182212).(suite_option);
174 }
175 }
176
177 /*----------------------------------------------------------------------*/
178 static boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! have_xml_optioncxx . . $ have_xml_option(c9857a73d68e59ba).(void) {
179 return optionscxx . . $ options.[XML_OPTcxx . . $ XML_OPT.].countcxx . . $ option#count. > 0 || optionscxx . . $ options.[LIBXML2_OPTcxx . . $ LIBXML2_OPT.].countcxx . . $ option#count. > 0;
180 }
181
182 static boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! have_libxml2_optioncxx . . $ have_libxml2_option(c9857a73d68e59ba).(void) {
183 return optionscxx . . $ options.[LIBXML2_OPTcxx . . $ LIBXML2_OPT.].countcxx . . $ option#count. > 0;
184 }
185
186 /*----------------------------------------------------------------------*/
187 static boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! run_tests_in_librarycxx . . $ run_tests_in_library(d8ca996f02fd1bc8).(const char *suite_name_option, const char *test_name,
188 const char *test_library, boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! verbose, boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! no_run) {
189 int status;
190 char *suite_name;
191
192 suite_name = get_a_suite_namecxx . . $ get_a_suite_name(a713fe7b9a57cf96).(suite_name_option, test_library);
193
194 status = runnercxx . . $ runner(cb5228346a98b1de).(reportercxx . . $ reporter., test_library, suite_name, test_name, verbose, no_run);
195 freecxx . . $ free(5d22bdacc48458e8).((void*)suite_name);
196
197 return status != 0;
198 }
199
200
201 /*----------------------------------------------------------------------*/
202 static void print_common_headercxx . . $ print_common_header(7b85637613228108).(const char *suite_name_option, int library_count, int test_count) {
203 char in_libraries_text[100] = "";
204 sprintfcxx . . $ sprintf(26c8642d26409d6d).(in_libraries_text, " in %d libraries", library_count);
205
206 printfcxx . . $ printf(581fddd72a8db8fc).("Running \"%s\" (%d test%s%s)...\n", suite_name_option,
207 test_count, test_count>1?"s":"",
208 in_libraries_text);
209 }
210
211 /*----------------------------------------------------------------------*/
212 static void inhibit_appropriate_suite_messagecxx . . $ inhibit_appropriate_suite_message(3e454b8ccf442868).(int i, int library_count) {
213 /* If we are using the text_reporter && a common suite name
214 then inhibit the start suite message for all libraries and
215 for all except the last library inhibit the finish suite
216 message. NOTE that the last library might be the second to
217 last arg since there might be a testname pattern after it.
218 */
219 reporter_optionscxx . . $ reporter_options..inhibit_start_suite_messagecxx . . $ text_reporter_options#inhibit_start_suite_message. = truecxx . . $ `<external>/13015445228558014418/stdbool.h:37:9`!;
220
221 if (i < library_count-1 && library_count > 1) {
222 reporter_optionscxx . . $ reporter_options..inhibit_finish_suite_messagecxx . . $ text_reporter_options#inhibit_finish_suite_message. = truecxx . . $ `<external>/13015445228558014418/stdbool.h:37:9`!;
223 } else
224 reporter_optionscxx . . $ reporter_options..inhibit_finish_suite_messagecxx . . $ text_reporter_options#inhibit_finish_suite_message. = falsecxx . . $ `<external>/13015445228558014418/stdbool.h:38:9`!;
225 }
226
227
228
229 /*======================================================================*/
230 int maincxx . . $ main(afcd3168fc1188a4).(int argc, char **argv) {
231 int i;
232
233 boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! verbose = falsecxx . . $ `<external>/13015445228558014418/stdbool.h:38:9`!;
234 boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! no_run = falsecxx . . $ `<external>/13015445228558014418/stdbool.h:38:9`!;
235
236 const char *suite_name_option = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!;
237
238 boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! any_fail = falsecxx . . $ `<external>/13015445228558014418/stdbool.h:38:9`!;
239
240 atexitcxx . . $ atexit(8919c3b35e68c42d).(cleanupcxx . . $ cleanup(49f6e7a06ebc5aa8).);
241
242 argc = goptcxx . . $ gopt(213a04db008bd700).(argv, optionscxx . . $ options.);
243 gopt_errorscxx . . $ gopt_errors(fd2d4ff1d55e8b12).(argv[0], optionscxx . . $ options.);
244
245 if (have_libxml2_optioncxx . . $ have_libxml2_option(c9857a73d68e59ba).()) {
246 #if HAVE_LIBXML2_REPORTERcxx . . $ `<built-in>:409:9`!
247 reportercxx . . $ reporter. = create_libxml_reportercxx . . $ create_libxml_reporter(7e5a2d32a0879f75).(optionscxx . . $ options.[LIBXML2_OPTcxx . . $ LIBXML2_OPT.].argumentcxx . . $ option#argument.);
248 #else
249 printf("libxml2 reporter not available\n");
250 return EXIT_FAILURE;
251 #endif
252 } else if (have_xml_optioncxx . . $ have_xml_option(c9857a73d68e59ba).()) {
253 #if HAVE_XML_REPORTERcxx . . $ `<built-in>:410:9`!
254 reportercxx . . $ reporter. = create_xml_reportercxx . . $ create_xml_reporter(7e5a2d32a0879f75).(optionscxx . . $ options.[XML_OPTcxx . . $ XML_OPT.].argumentcxx . . $ option#argument.);
255 #else
256 printf("XML reporter not available\n");
257 return EXIT_FAILURE;
258 #endif
259 } else
260 reportercxx . . $ reporter. = create_text_reportercxx . . $ create_text_reporter(a6a8ef953e197a65).();
261
262 suite_name_option = optionscxx . . $ options.[SUITE_OPTcxx . . $ SUITE_OPT.].argumentcxx . . $ option#argument.;
263
264 verbose = optionscxx . . $ options.[VERBOSE_OPTcxx . . $ VERBOSE_OPT.].countcxx . . $ option#count. > 0;
265 no_run = optionscxx . . $ options.[NO_RUN_OPTcxx . . $ NO_RUN_OPT.].countcxx . . $ option#count. > 0;
266
267 reporter_optionscxx . . $ reporter_options..use_colourscxx . . $ text_reporter_options#use_colours. = truecxx . . $ `<external>/13015445228558014418/stdbool.h:37:9`!;
268 if (isattycxx . . $ isatty(7864480464b09eea).(filenocxx . . $ fileno(89bc1efcdac0ca22).(stdoutcxx . . $ `<external>/232824719582829767/stdio.h:158:9`!))) {
269 if (optionscxx . . $ options.[NO_COLORS_OPTcxx . . $ NO_COLORS_OPT.].countcxx . . $ option#count. || optionscxx . . $ options.[NO_COLOURS_OPTcxx . . $ NO_COLOURS_OPT.].countcxx . . $ option#count.)
270 reporter_optionscxx . . $ reporter_options..use_colourscxx . . $ text_reporter_options#use_colours. = falsecxx . . $ `<external>/13015445228558014418/stdbool.h:38:9`!;
271 } else {
272 if (!optionscxx . . $ options.[COLORS_OPTcxx . . $ COLORS_OPT.].countcxx . . $ option#count. && !optionscxx . . $ options.[COLOURS_OPTcxx . . $ COLOURS_OPT.].countcxx . . $ option#count.)
273 reporter_optionscxx . . $ reporter_options..use_colourscxx . . $ text_reporter_options#use_colours. = falsecxx . . $ `<external>/13015445228558014418/stdbool.h:38:9`!;
274 }
275 panic_use_colourscxx . . $ panic_use_colours. = reporter_optionscxx . . $ reporter_options..use_colourscxx . . $ text_reporter_options#use_colours.;
276
277 reporter_optionscxx . . $ reporter_options..quiet_modecxx . . $ text_reporter_options#quiet_mode. = optionscxx . . $ options.[QUITE_OPTcxx . . $ QUITE_OPT.].countcxx . . $ option#count. > 0;
278
279 if (optionscxx . . $ options.[HELP_OPTcxx . . $ HELP_OPT.].countcxx . . $ option#count.) {
280 usagecxx . . $ usage(85c52e162fed56f9).(argv[0]);
281 return EXIT_SUCCESScxx . . $ `<external>/10696550936717951914/stdlib.h:97:9`!;
282 }
283
284 if (optionscxx . . $ options.[VERSION_OPTcxx . . $ VERSION_OPT.].countcxx . . $ option#count.) {
285 versioncxx . . $ version(49f6e7a06ebc5aa8).();
286 return EXIT_SUCCESScxx . . $ `<external>/10696550936717951914/stdlib.h:97:9`!;
287 }
288
289 if (argc < 2) {
290 usagecxx . . $ usage(85c52e162fed56f9).(argv[0]);
291 return EXIT_FAILUREcxx . . $ `<external>/10696550936717951914/stdlib.h:96:9`!;
292 }
293
294 set_reporter_optionscxx . . $ set_reporter_options(803220dde5864e9d).(reportercxx . . $ reporter., &reporter_optionscxx . . $ reporter_options.);
295
296 /* Walk through all arguments and set up list of libraries and testnames */
297 const char **libraries; /* Array of libraries to run tests in */
298 libraries = malloccxx . . $ malloc(bfcfa4d6b7f7ef64).(sizeof(char *)*argc);
299
300 const char **testname; /* Array of test name patterns, maybe NULL */
301 testname = malloccxx . . $ malloc(bfcfa4d6b7f7ef64).(sizeof(char *)*argc);
302
303 int library_count = 0;
304
305 /* Find libraries */
306 i = 1;
307 while(i < argc) {
308 libraries[library_count++] = argv[i++];
309
310 /* Check if the next argument is not a filename, thus a test name,
311 remember and move past it */
312 if (!file_existscxx . . $ file_exists(5c4306d8553b3696).(argv[i])) {
313 testname[library_count-1] = argv[i++];
314 } else
315 testname[library_count-1] = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!;
316 }
317
318 reporter_optionscxx . . $ reporter_options..inhibit_start_suite_messagecxx . . $ text_reporter_options#inhibit_start_suite_message. = falsecxx . . $ `<external>/13015445228558014418/stdbool.h:38:9`!;
319 reporter_optionscxx . . $ reporter_options..inhibit_finish_suite_messagecxx . . $ text_reporter_options#inhibit_finish_suite_message. = falsecxx . . $ `<external>/13015445228558014418/stdbool.h:38:9`!;
320
321 int test_count = 0;
322 if (!have_xml_optioncxx . . $ have_xml_option(c9857a73d68e59ba).() && (suite_name_option != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!)) {
323
324 /* Count all tests */
325 for (i = 0; i<library_count; i++) {
326 if (!file_existscxx . . $ file_exists(5c4306d8553b3696).(libraries[i])) {
327 printfcxx . . $ printf(581fddd72a8db8fc).("Couldn't find library: %s\n", libraries[i]);
328 any_fail = truecxx . . $ `<external>/13015445228558014418/stdbool.h:37:9`!;
329 break;
330 }
331
332 CgreenVectorcxx . . $ CgreenVector# *discovered_tests = discover_tests_incxx . . $ discover_tests_in(58480c4ec9f8c8d).(libraries[i], falsecxx . . $ `<external>/13015445228558014418/stdbool.h:38:9`!);
333 test_count += cgreen_vector_sizecxx . . $ cgreen_vector_size(d6a9fa4a29061fe2).(discovered_tests);
334 destroy_cgreen_vectorcxx . . $ destroy_cgreen_vector(fe9e7a16718af6c0).(discovered_tests);
335 }
336 print_common_headercxx . . $ print_common_header(7b85637613228108).(suite_name_option, library_count, test_count);
337 }
338
339
340 for (i = 0; i<library_count; i++) {
341 boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! fail = falsecxx . . $ `<external>/13015445228558014418/stdbool.h:38:9`!;
342
343 if (!file_existscxx . . $ file_exists(5c4306d8553b3696).(libraries[i])) {
344 printfcxx . . $ printf(581fddd72a8db8fc).("Couldn't find library: %s\n", libraries[i]);
345 any_fail = truecxx . . $ `<external>/13015445228558014418/stdbool.h:37:9`!;
346 break;
347 }
348
349 if (!have_xml_optioncxx . . $ have_xml_option(c9857a73d68e59ba).() && (suite_name_option != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!))
350 inhibit_appropriate_suite_messagecxx . . $ inhibit_appropriate_suite_message(3e454b8ccf442868).(i, library_count);
351
352 fail = run_tests_in_librarycxx . . $ run_tests_in_library(d8ca996f02fd1bc8).(suite_name_option, testname[i], libraries[i],
353 verbose, no_run);
354 if (fail) any_fail = truecxx . . $ `<external>/13015445228558014418/stdbool.h:37:9`!;
355 }
356
357 if (!have_xml_optioncxx . . $ have_xml_option(c9857a73d68e59ba).() && reporter_optionscxx . . $ reporter_options..quiet_modecxx . . $ text_reporter_options#quiet_mode.)
358 printfcxx . . $ printf(581fddd72a8db8fc).("\n");
359
360 freecxx . . $ free(5d22bdacc48458e8).(libraries);
361 freecxx . . $ free(5d22bdacc48458e8).(testname);
362 return any_fail?EXIT_FAILUREcxx . . $ `<external>/10696550936717951914/stdlib.h:96:9`!:EXIT_SUCCESScxx . . $ `<external>/10696550936717951914/stdlib.h:97:9`!;
363 }