]>
Commit | Line | Data |
---|---|---|
3a726fcd ZJS |
1 | # SPDX-License-Identifier: LGPL-2.1+ |
2 | # | |
3 | # Copyright 2017 Zbigniew Jędrzejewski-Szmek | |
4 | # | |
5 | # systemd is free software; you can redistribute it and/or modify it | |
6 | # under the terms of the GNU Lesser General Public License as published by | |
7 | # the Free Software Foundation; either version 2.1 of the License, or | |
8 | # (at your option) any later version. | |
9 | # | |
10 | # systemd is distributed in the hope that it will be useful, but | |
11 | # WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
13 | # Lesser General Public License for more details. | |
14 | # | |
15 | # You should have received a copy of the GNU Lesser General Public License | |
16 | # along with systemd; If not, see <http://www.gnu.org/licenses/>. | |
17 | ||
69e96427 ZJS |
18 | awkscript = 'test-hashmap-ordered.awk' |
19 | test_hashmap_ordered_c = custom_target( | |
37efbbd8 ZJS |
20 | 'test-hashmap-ordered.c', |
21 | input : [awkscript, 'test-hashmap-plain.c'], | |
22 | output : 'test-hashmap-ordered.c', | |
23 | command : [awk, '-f', '@INPUT0@', '@INPUT1@'], | |
24 | capture : true) | |
69e96427 ZJS |
25 | |
26 | test_include_dir = include_directories('.') | |
27 | ||
28 | path = run_command('sh', ['-c', 'echo "$PATH"']).stdout() | |
29 | test_env = environment() | |
30 | test_env.set('SYSTEMD_KBD_MODEL_MAP', kbd_model_map) | |
31 | test_env.set('SYSTEMD_LANGUAGE_FALLBACK_MAP', language_fallback_map) | |
32 | test_env.set('PATH', path) | |
33 | test_env.prepend('PATH', meson.build_root()) | |
34 | ||
37ab1a25 ZJS |
35 | ############################################################ |
36 | ||
37 | generate_sym_test_py = find_program('generate-sym-test.py') | |
38 | ||
39 | test_libsystemd_sym_c = custom_target( | |
37efbbd8 ZJS |
40 | 'test-libsystemd-sym.c', |
41 | input : [libsystemd_sym_path] + systemd_headers, | |
42 | output : 'test-libsystemd-sym.c', | |
43 | command : [generate_sym_test_py, libsystemd_sym_path] + systemd_headers, | |
44 | capture : true) | |
37ab1a25 | 45 | |
e0bec52f | 46 | test_libudev_sym_c = custom_target( |
37efbbd8 ZJS |
47 | 'test-libudev-sym.c', |
48 | input : [libudev_sym_path, libudev_h_path], | |
49 | output : 'test-libudev-sym.c', | |
50 | command : [generate_sym_test_py, '@INPUT0@', '@INPUT1@'], | |
51 | capture : true) | |
e0bec52f | 52 | |
83b6af36 ZJS |
53 | test_dlopen_c = files('test-dlopen.c') |
54 | ||
37ab1a25 ZJS |
55 | ############################################################ |
56 | ||
d9daae55 ZJS |
57 | test_systemd_tmpfiles_py = find_program('test-systemd-tmpfiles.py') |
58 | ||
59 | ############################################################ | |
60 | ||
69e96427 | 61 | tests += [ |
37efbbd8 ZJS |
62 | [['src/test/test-device-nodes.c'], |
63 | [], | |
64 | []], | |
65 | ||
8c759b33 LP |
66 | [['src/test/test-engine.c', |
67 | 'src/test/test-helper.c'], | |
37efbbd8 ZJS |
68 | [libcore, |
69 | libudev, | |
0c06b506 | 70 | libshared], |
37efbbd8 ZJS |
71 | [threads, |
72 | librt, | |
73 | libseccomp, | |
74 | libselinux, | |
75 | libmount, | |
76 | libblkid]], | |
77 | ||
78 | [['src/test/test-job-type.c'], | |
79 | [libcore, | |
34ce0a52 | 80 | libshared], |
37efbbd8 ZJS |
81 | [threads, |
82 | librt, | |
83 | libseccomp, | |
84 | libselinux, | |
85 | libmount, | |
86 | libblkid]], | |
87 | ||
88 | [['src/test/test-ns.c'], | |
89 | [libcore, | |
34ce0a52 | 90 | libshared], |
37efbbd8 ZJS |
91 | [threads, |
92 | librt, | |
93 | libseccomp, | |
94 | libselinux, | |
95 | libmount, | |
96 | libblkid], | |
ad68714d | 97 | '', 'manual'], |
37efbbd8 ZJS |
98 | |
99 | [['src/test/test-loopback.c'], | |
100 | [libcore, | |
101 | libshared], | |
102 | [threads, | |
103 | librt, | |
104 | libseccomp, | |
105 | libselinux, | |
106 | libmount, | |
107 | libblkid]], | |
108 | ||
109 | [['src/test/test-hostname.c'], | |
110 | [libcore, | |
34ce0a52 | 111 | libshared], |
37efbbd8 ZJS |
112 | [threads, |
113 | librt, | |
114 | libseccomp, | |
115 | libselinux, | |
116 | libmount, | |
117 | libblkid], | |
118 | '', 'unsafe'], | |
119 | ||
120 | [['src/test/test-dns-domain.c'], | |
121 | [libcore, | |
2d4ceca8 | 122 | libshared, |
37efbbd8 ZJS |
123 | libsystemd_network], |
124 | []], | |
125 | ||
126 | [['src/test/test-boot-timestamps.c'], | |
127 | [], | |
128 | [], | |
129 | 'ENABLE_EFI'], | |
130 | ||
8c759b33 LP |
131 | [['src/test/test-unit-name.c', |
132 | 'src/test/test-helper.c'], | |
37efbbd8 | 133 | [libcore, |
34ce0a52 | 134 | libshared], |
37efbbd8 ZJS |
135 | [threads, |
136 | librt, | |
137 | libseccomp, | |
138 | libselinux, | |
139 | libmount, | |
140 | libblkid]], | |
141 | ||
8c759b33 LP |
142 | [['src/test/test-unit-file.c', |
143 | 'src/test/test-helper.c'], | |
37efbbd8 | 144 | [libcore, |
34ce0a52 | 145 | libshared], |
37efbbd8 ZJS |
146 | [threads, |
147 | librt, | |
148 | libseccomp, | |
149 | libselinux, | |
150 | libmount, | |
151 | libblkid]], | |
152 | ||
153 | [['src/test/test-utf8.c'], | |
154 | [], | |
155 | []], | |
156 | ||
157 | [['src/test/test-capability.c'], | |
158 | [], | |
159 | [libcap]], | |
160 | ||
161 | [['src/test/test-async.c'], | |
162 | [], | |
a28b9567 YW |
163 | [], |
164 | '', 'timeout=120'], | |
37efbbd8 ZJS |
165 | |
166 | [['src/test/test-locale-util.c'], | |
167 | [], | |
168 | []], | |
169 | ||
170 | [['src/test/test-copy.c'], | |
2d4ceca8 | 171 | [], |
37efbbd8 ZJS |
172 | []], |
173 | ||
174 | [['src/test/test-sigbus.c'], | |
175 | [], | |
176 | []], | |
177 | ||
178 | [['src/test/test-condition.c'], | |
179 | [], | |
180 | []], | |
181 | ||
182 | [['src/test/test-fdset.c'], | |
183 | [], | |
184 | []], | |
185 | ||
186 | [['src/test/test-fstab-util.c'], | |
187 | [], | |
188 | []], | |
189 | ||
2416f73b ZJS |
190 | [['src/test/test-random-util.c'], |
191 | [], | |
192 | []], | |
193 | ||
37efbbd8 ZJS |
194 | [['src/test/test-ratelimit.c'], |
195 | [], | |
196 | []], | |
197 | ||
198 | [['src/test/test-util.c'], | |
199 | [], | |
200 | []], | |
201 | ||
202 | [['src/test/test-mount-util.c'], | |
203 | [], | |
204 | []], | |
205 | ||
206 | [['src/test/test-exec-util.c'], | |
207 | [], | |
208 | []], | |
209 | ||
210 | [['src/test/test-hexdecoct.c'], | |
211 | [], | |
212 | []], | |
213 | ||
214 | [['src/test/test-alloc-util.c'], | |
215 | [], | |
216 | []], | |
217 | ||
218 | [['src/test/test-xattr-util.c'], | |
219 | [], | |
220 | []], | |
221 | ||
222 | [['src/test/test-io-util.c'], | |
223 | [], | |
224 | []], | |
225 | ||
226 | [['src/test/test-glob-util.c'], | |
227 | [], | |
228 | []], | |
229 | ||
230 | [['src/test/test-fs-util.c'], | |
231 | [], | |
232 | []], | |
233 | ||
234 | [['src/test/test-proc-cmdline.c'], | |
235 | [], | |
236 | []], | |
237 | ||
238 | [['src/test/test-fd-util.c'], | |
239 | [], | |
240 | []], | |
241 | ||
242 | [['src/test/test-web-util.c'], | |
243 | [], | |
244 | []], | |
245 | ||
246 | [['src/test/test-cpu-set-util.c'], | |
247 | [], | |
248 | []], | |
249 | ||
250 | [['src/test/test-stat-util.c'], | |
251 | [], | |
252 | []], | |
253 | ||
254 | [['src/test/test-escape.c'], | |
255 | [], | |
256 | []], | |
257 | ||
e82f30d1 LP |
258 | [['src/test/test-specifier.c'], |
259 | [], | |
260 | []], | |
261 | ||
37efbbd8 ZJS |
262 | [['src/test/test-string-util.c'], |
263 | [], | |
264 | []], | |
265 | ||
266 | [['src/test/test-extract-word.c'], | |
267 | [], | |
268 | []], | |
269 | ||
270 | [['src/test/test-parse-util.c'], | |
271 | [], | |
272 | []], | |
273 | ||
274 | [['src/test/test-user-util.c'], | |
275 | [], | |
276 | []], | |
277 | ||
278 | [['src/test/test-hostname-util.c'], | |
279 | [], | |
280 | []], | |
281 | ||
282 | [['src/test/test-process-util.c'], | |
283 | [], | |
284 | []], | |
285 | ||
286 | [['src/test/test-terminal-util.c'], | |
287 | [], | |
288 | []], | |
289 | ||
290 | [['src/test/test-path-lookup.c'], | |
291 | [], | |
292 | []], | |
293 | ||
294 | [['src/test/test-uid-range.c'], | |
295 | [], | |
296 | []], | |
297 | ||
298 | [['src/test/test-cap-list.c', | |
299 | generated_gperf_headers], | |
300 | [], | |
301 | [libcap]], | |
302 | ||
303 | [['src/test/test-socket-util.c'], | |
304 | [], | |
305 | []], | |
306 | ||
f4912f3a LP |
307 | [['src/test/test-in-addr-util.c'], |
308 | [], | |
309 | []], | |
310 | ||
37efbbd8 ZJS |
311 | [['src/test/test-barrier.c'], |
312 | [], | |
313 | []], | |
314 | ||
315 | [['src/test/test-tmpfiles.c'], | |
316 | [], | |
317 | []], | |
318 | ||
319 | [['src/test/test-namespace.c'], | |
320 | [libcore, | |
34ce0a52 | 321 | libshared], |
37efbbd8 ZJS |
322 | [threads, |
323 | libblkid]], | |
324 | ||
325 | [['src/test/test-verbs.c'], | |
326 | [], | |
327 | []], | |
328 | ||
329 | [['src/test/test-install-root.c'], | |
330 | [], | |
331 | []], | |
332 | ||
333 | [['src/test/test-acl-util.c'], | |
334 | [], | |
335 | [], | |
336 | 'HAVE_ACL'], | |
337 | ||
338 | [['src/test/test-seccomp.c'], | |
339 | [], | |
340 | [libseccomp], | |
341 | 'HAVE_SECCOMP'], | |
342 | ||
343 | [['src/test/test-rlimit-util.c'], | |
344 | [], | |
345 | []], | |
346 | ||
347 | [['src/test/test-ask-password-api.c'], | |
348 | [], | |
349 | [], | |
350 | '', 'manual'], | |
351 | ||
352 | [['src/test/test-dissect-image.c'], | |
353 | [], | |
354 | [libblkid], | |
355 | '', 'manual'], | |
356 | ||
357 | [['src/test/test-signal-util.c'], | |
358 | [], | |
359 | []], | |
360 | ||
361 | [['src/test/test-selinux.c'], | |
362 | [], | |
363 | []], | |
364 | ||
365 | [['src/test/test-sizeof.c'], | |
366 | [libbasic], | |
367 | []], | |
368 | ||
db3a5930 DM |
369 | [['src/test/test-bpf.c', |
370 | 'src/test/test-helper.c'], | |
371 | [libcore, | |
372 | libshared], | |
373 | [libmount, | |
374 | threads, | |
375 | librt, | |
376 | libseccomp, | |
377 | libselinux, | |
378 | libblkid]], | |
379 | ||
62a76913 LP |
380 | [['src/test/test-watch-pid.c', |
381 | 'src/test/test-helper.c'], | |
382 | [libcore, | |
383 | libshared], | |
384 | [libmount, | |
385 | threads, | |
386 | librt, | |
387 | libseccomp, | |
388 | libselinux, | |
389 | libblkid]], | |
390 | ||
37efbbd8 ZJS |
391 | [['src/test/test-hashmap.c', |
392 | 'src/test/test-hashmap-plain.c', | |
393 | test_hashmap_ordered_c], | |
394 | [], | |
395 | [], | |
396 | '', 'timeout=90'], | |
397 | ||
398 | [['src/test/test-set.c'], | |
399 | [], | |
400 | []], | |
401 | ||
402 | [['src/test/test-bitmap.c'], | |
403 | [], | |
404 | []], | |
405 | ||
406 | [['src/test/test-xml.c'], | |
407 | [], | |
408 | []], | |
409 | ||
410 | [['src/test/test-list.c'], | |
411 | [], | |
412 | []], | |
413 | ||
9aef9a67 LP |
414 | [['src/test/test-procfs-util.c'], |
415 | [], | |
416 | []], | |
417 | ||
37efbbd8 ZJS |
418 | [['src/test/test-unaligned.c'], |
419 | [], | |
420 | []], | |
421 | ||
422 | [['src/test/test-tables.c', | |
423 | 'src/shared/test-tables.h', | |
424 | 'src/journal/journald-server.c', | |
425 | 'src/journal/journald-server.h'], | |
426 | [libcore, | |
427 | libjournal_core, | |
428 | libudev_core, | |
0c06b506 | 429 | libudev_static, |
37efbbd8 ZJS |
430 | libsystemd_network, |
431 | libshared], | |
432 | [threads, | |
433 | libseccomp, | |
434 | libmount, | |
435 | libxz, | |
436 | liblz4, | |
437 | libblkid], | |
438 | '', '', [], libudev_core_includes], | |
439 | ||
440 | [['src/test/test-prioq.c'], | |
441 | [], | |
442 | []], | |
443 | ||
444 | [['src/test/test-fileio.c'], | |
445 | [], | |
446 | []], | |
447 | ||
b996f7e4 | 448 | [['src/test/test-time-util.c'], |
37efbbd8 ZJS |
449 | [], |
450 | []], | |
451 | ||
452 | [['src/test/test-clock.c'], | |
453 | [], | |
454 | []], | |
455 | ||
456 | [['src/test/test-architecture.c'], | |
457 | [], | |
458 | []], | |
459 | ||
460 | [['src/test/test-log.c'], | |
461 | [], | |
462 | []], | |
463 | ||
464 | [['src/test/test-ipcrm.c'], | |
465 | [], | |
466 | [], | |
467 | '', 'unsafe'], | |
468 | ||
469 | [['src/test/test-btrfs.c'], | |
470 | [], | |
471 | [], | |
472 | '', 'manual'], | |
473 | ||
474 | ||
475 | [['src/test/test-firewall-util.c'], | |
c3045943 | 476 | [libshared], |
37efbbd8 ZJS |
477 | [], |
478 | 'HAVE_LIBIPTC'], | |
479 | ||
480 | [['src/test/test-netlink-manual.c'], | |
481 | [], | |
482 | [libkmod], | |
483 | 'HAVE_KMOD', 'manual'], | |
484 | ||
485 | [['src/test/test-ellipsize.c'], | |
486 | [], | |
487 | []], | |
488 | ||
489 | [['src/test/test-date.c'], | |
490 | [], | |
491 | []], | |
492 | ||
493 | [['src/test/test-sleep.c'], | |
494 | [], | |
495 | []], | |
496 | ||
497 | [['src/test/test-replace-var.c'], | |
498 | [], | |
499 | []], | |
500 | ||
501 | [['src/test/test-calendarspec.c'], | |
502 | [], | |
503 | []], | |
504 | ||
505 | [['src/test/test-strip-tab-ansi.c'], | |
506 | [], | |
507 | []], | |
508 | ||
509 | [['src/test/test-daemon.c'], | |
510 | [], | |
511 | []], | |
512 | ||
513 | [['src/test/test-cgroup.c'], | |
514 | [], | |
515 | [], | |
516 | '', 'manual'], | |
517 | ||
8c759b33 LP |
518 | [['src/test/test-cgroup-mask.c', |
519 | 'src/test/test-helper.c'], | |
37efbbd8 | 520 | [libcore, |
34ce0a52 | 521 | libshared], |
37efbbd8 ZJS |
522 | [threads, |
523 | librt, | |
524 | libseccomp, | |
525 | libselinux, | |
526 | libmount, | |
527 | libblkid]], | |
528 | ||
529 | [['src/test/test-cgroup-util.c'], | |
530 | [], | |
531 | []], | |
532 | ||
533 | [['src/test/test-env-util.c'], | |
534 | [], | |
535 | []], | |
536 | ||
537 | [['src/test/test-strbuf.c'], | |
538 | [], | |
539 | []], | |
540 | ||
541 | [['src/test/test-strv.c'], | |
542 | [], | |
543 | []], | |
544 | ||
545 | [['src/test/test-path-util.c'], | |
546 | [], | |
547 | []], | |
548 | ||
8c759b33 LP |
549 | [['src/test/test-path.c', |
550 | 'src/test/test-helper.c'], | |
37efbbd8 | 551 | [libcore, |
34ce0a52 | 552 | libshared], |
37efbbd8 ZJS |
553 | [threads, |
554 | librt, | |
555 | libseccomp, | |
556 | libselinux, | |
557 | libmount, | |
558 | libblkid]], | |
559 | ||
8c759b33 LP |
560 | [['src/test/test-execute.c', |
561 | 'src/test/test-helper.c'], | |
37efbbd8 | 562 | [libcore, |
34ce0a52 | 563 | libshared], |
37efbbd8 ZJS |
564 | [threads, |
565 | librt, | |
566 | libseccomp, | |
567 | libselinux, | |
568 | libmount, | |
569 | libblkid]], | |
570 | ||
571 | [['src/test/test-siphash24.c'], | |
572 | [], | |
573 | []], | |
574 | ||
575 | [['src/test/test-strxcpyx.c'], | |
576 | [], | |
577 | []], | |
578 | ||
579 | [['src/test/test-install.c'], | |
580 | [libcore, | |
581 | libshared], | |
582 | [], | |
583 | '', 'manual'], | |
584 | ||
585 | [['src/test/test-watchdog.c'], | |
586 | [], | |
587 | []], | |
588 | ||
8c759b33 LP |
589 | [['src/test/test-sched-prio.c', |
590 | 'src/test/test-helper.c'], | |
37efbbd8 | 591 | [libcore, |
34ce0a52 | 592 | libshared], |
37efbbd8 ZJS |
593 | [threads, |
594 | librt, | |
595 | libseccomp, | |
596 | libselinux, | |
597 | libmount, | |
598 | libblkid]], | |
599 | ||
600 | [['src/test/test-conf-files.c'], | |
601 | [], | |
602 | []], | |
603 | ||
604 | [['src/test/test-conf-parser.c'], | |
605 | [], | |
606 | []], | |
607 | ||
608 | [['src/test/test-af-list.c', | |
609 | generated_gperf_headers], | |
610 | [], | |
611 | []], | |
612 | ||
613 | [['src/test/test-arphrd-list.c', | |
614 | generated_gperf_headers], | |
615 | [], | |
616 | []], | |
617 | ||
618 | [['src/test/test-journal-importer.c'], | |
619 | [], | |
620 | []], | |
621 | ||
622 | [['src/test/test-libudev.c'], | |
34ce0a52 | 623 | [libshared], |
37efbbd8 ZJS |
624 | []], |
625 | ||
626 | [['src/test/test-udev.c'], | |
627 | [libudev_core, | |
0c06b506 | 628 | libudev_static, |
37efbbd8 ZJS |
629 | libsystemd_network, |
630 | libshared], | |
631 | [threads, | |
632 | librt, | |
633 | libblkid, | |
634 | libkmod, | |
635 | libacl], | |
636 | '', 'manual'], | |
637 | ||
638 | [['src/test/test-id128.c'], | |
639 | [], | |
640 | []], | |
641 | ||
642 | [['src/test/test-hash.c'], | |
643 | [], | |
644 | []], | |
645 | ||
bd181f27 ZJS |
646 | [['src/test/test-gcrypt-util.c'], |
647 | [], | |
648 | [], | |
649 | 'HAVE_GCRYPT'], | |
650 | ||
37efbbd8 ZJS |
651 | [['src/test/test-nss.c'], |
652 | [], | |
653 | [libdl], | |
654 | '', 'manual'], | |
655 | ] | |
69e96427 ZJS |
656 | |
657 | ############################################################ | |
658 | ||
659 | # define some tests here, because the link_with deps were not defined earlier | |
660 | ||
661 | tests += [ | |
37efbbd8 ZJS |
662 | [['src/journal/test-journal.c'], |
663 | [libjournal_core, | |
664 | libshared], | |
665 | [threads, | |
666 | libxz, | |
667 | liblz4]], | |
668 | ||
669 | [['src/journal/test-journal-send.c'], | |
670 | [libjournal_core, | |
671 | libshared], | |
672 | [threads, | |
673 | libxz, | |
674 | liblz4]], | |
675 | ||
676 | [['src/journal/test-journal-syslog.c'], | |
677 | [libjournal_core, | |
34ce0a52 | 678 | libshared], |
37efbbd8 ZJS |
679 | [threads, |
680 | libxz, | |
681 | liblz4, | |
682 | libselinux]], | |
683 | ||
684 | [['src/journal/test-journal-match.c'], | |
685 | [libjournal_core, | |
686 | libshared], | |
687 | [threads, | |
688 | libxz, | |
689 | liblz4]], | |
690 | ||
691 | [['src/journal/test-journal-enum.c'], | |
692 | [libjournal_core, | |
693 | libshared], | |
694 | [threads, | |
695 | libxz, | |
76b38997 ZJS |
696 | liblz4], |
697 | '', 'timeout=360'], | |
37efbbd8 ZJS |
698 | |
699 | [['src/journal/test-journal-stream.c'], | |
700 | [libjournal_core, | |
701 | libshared], | |
702 | [threads, | |
703 | libxz, | |
704 | liblz4]], | |
705 | ||
706 | [['src/journal/test-journal-flush.c'], | |
707 | [libjournal_core, | |
708 | libshared], | |
709 | [threads, | |
710 | libxz, | |
711 | liblz4]], | |
712 | ||
713 | [['src/journal/test-journal-init.c'], | |
714 | [libjournal_core, | |
715 | libshared], | |
716 | [threads, | |
717 | libxz, | |
718 | liblz4]], | |
719 | ||
720 | [['src/journal/test-journal-verify.c'], | |
721 | [libjournal_core, | |
722 | libshared], | |
723 | [threads, | |
724 | libxz, | |
725 | liblz4]], | |
726 | ||
727 | [['src/journal/test-journal-interleaving.c'], | |
728 | [libjournal_core, | |
729 | libshared], | |
730 | [threads, | |
731 | libxz, | |
732 | liblz4]], | |
733 | ||
734 | [['src/journal/test-mmap-cache.c'], | |
735 | [libjournal_core, | |
736 | libshared], | |
737 | [threads, | |
738 | libxz, | |
739 | liblz4]], | |
740 | ||
741 | [['src/journal/test-catalog.c'], | |
742 | [libjournal_core, | |
743 | libshared], | |
744 | [threads, | |
745 | libxz, | |
746 | liblz4], | |
747 | '', '', '-DCATALOG_DIR="@0@"'.format(build_catalog_dir)], | |
748 | ||
749 | [['src/journal/test-compress.c'], | |
750 | [libjournal_core, | |
751 | libshared], | |
752 | [liblz4, | |
753 | libxz]], | |
754 | ||
755 | [['src/journal/test-compress-benchmark.c'], | |
756 | [libjournal_core, | |
757 | libshared], | |
758 | [liblz4, | |
759 | libxz], | |
760 | '', 'timeout=90'], | |
761 | ||
762 | [['src/journal/test-audit-type.c'], | |
763 | [libjournal_core, | |
764 | libshared], | |
765 | [liblz4, | |
766 | libxz]], | |
767 | ] | |
f4ee10a2 ZJS |
768 | |
769 | ############################################################ | |
770 | ||
771 | tests += [ | |
37efbbd8 ZJS |
772 | [['src/libsystemd/sd-bus/test-bus-marshal.c'], |
773 | [], | |
774 | [threads, | |
775 | libglib, | |
776 | libgobject, | |
777 | libgio, | |
778 | libdbus]], | |
779 | ||
780 | [['src/libsystemd/sd-bus/test-bus-signature.c'], | |
781 | [], | |
782 | [threads]], | |
783 | ||
8a5cd31e LP |
784 | [['src/libsystemd/sd-bus/test-bus-watch-bind.c'], |
785 | [], | |
786 | [threads], '', 'timeout=120'], | |
787 | ||
37efbbd8 ZJS |
788 | [['src/libsystemd/sd-bus/test-bus-chat.c'], |
789 | [], | |
790 | [threads]], | |
791 | ||
792 | [['src/libsystemd/sd-bus/test-bus-cleanup.c'], | |
793 | [], | |
794 | [threads, | |
795 | libseccomp]], | |
796 | ||
797 | [['src/libsystemd/sd-bus/test-bus-error.c'], | |
798 | [libshared_static, | |
37e4d7a8 | 799 | libsystemd_static], |
37efbbd8 ZJS |
800 | []], |
801 | ||
802 | [['src/libsystemd/sd-bus/test-bus-track.c'], | |
803 | [], | |
804 | [libseccomp]], | |
805 | ||
806 | [['src/libsystemd/sd-bus/test-bus-server.c'], | |
807 | [], | |
808 | [threads]], | |
809 | ||
810 | [['src/libsystemd/sd-bus/test-bus-objects.c'], | |
811 | [], | |
812 | [threads]], | |
813 | ||
94e2523b ZJS |
814 | [['src/libsystemd/sd-bus/test-bus-vtable.c'], |
815 | [], | |
816 | []], | |
817 | ||
37efbbd8 ZJS |
818 | [['src/libsystemd/sd-bus/test-bus-gvariant.c'], |
819 | [], | |
820 | [libglib, | |
821 | libgobject, | |
822 | libgio]], | |
823 | ||
824 | [['src/libsystemd/sd-bus/test-bus-creds.c'], | |
825 | [], | |
826 | []], | |
827 | ||
828 | [['src/libsystemd/sd-bus/test-bus-match.c'], | |
829 | [], | |
830 | []], | |
831 | ||
37efbbd8 ZJS |
832 | [['src/libsystemd/sd-bus/test-bus-benchmark.c'], |
833 | [], | |
a132bef0 ZJS |
834 | [threads], |
835 | '', 'manual'], | |
37efbbd8 ZJS |
836 | |
837 | [['src/libsystemd/sd-bus/test-bus-introspect.c'], | |
838 | [], | |
839 | []], | |
840 | ||
841 | [['src/libsystemd/sd-event/test-event.c'], | |
842 | [], | |
843 | []], | |
844 | ||
845 | [['src/libsystemd/sd-netlink/test-netlink.c'], | |
846 | [], | |
847 | []], | |
848 | ||
849 | [['src/libsystemd/sd-netlink/test-local-addresses.c'], | |
850 | [], | |
851 | []], | |
852 | ||
853 | [['src/libsystemd/sd-resolve/test-resolve.c'], | |
854 | [], | |
855 | [threads]], | |
856 | ||
857 | [['src/libsystemd/sd-login/test-login.c'], | |
858 | [], | |
ce737f46 | 859 | []], |
826472ce | 860 | ] |
69e96427 | 861 | |
94e2523b ZJS |
862 | if cxx.found() |
863 | tests += [ | |
864 | [['src/libsystemd/sd-bus/test-bus-vtable-cc.cc'], | |
865 | [], | |
866 | []] | |
867 | ] | |
868 | endif | |
869 | ||
69e96427 ZJS |
870 | ############################################################ |
871 | ||
872 | tests += [ | |
37efbbd8 ZJS |
873 | [['src/libsystemd-network/test-dhcp-option.c', |
874 | 'src/libsystemd-network/dhcp-protocol.h', | |
875 | 'src/libsystemd-network/dhcp-internal.h'], | |
876 | [libshared, | |
877 | libsystemd_network], | |
878 | []], | |
879 | ||
b85bc551 DW |
880 | [['src/libsystemd-network/test-sd-dhcp-lease.c', |
881 | 'src/libsystemd-network/dhcp-lease-internal.h'], | |
882 | [libshared, | |
883 | libsystemd_network], | |
884 | []], | |
885 | ||
37efbbd8 ZJS |
886 | [['src/libsystemd-network/test-dhcp-client.c', |
887 | 'src/libsystemd-network/dhcp-protocol.h', | |
888 | 'src/libsystemd-network/dhcp-internal.h', | |
889 | 'src/systemd/sd-dhcp-client.h'], | |
890 | [libshared, | |
34ce0a52 | 891 | libsystemd_network], |
37efbbd8 ZJS |
892 | []], |
893 | ||
894 | [['src/libsystemd-network/test-dhcp-server.c'], | |
895 | [libshared, | |
896 | libsystemd_network], | |
897 | []], | |
898 | ||
899 | [['src/libsystemd-network/test-ipv4ll.c', | |
900 | 'src/libsystemd-network/arp-util.h', | |
901 | 'src/systemd/sd-ipv4ll.h'], | |
902 | [libshared, | |
903 | libsystemd_network], | |
904 | []], | |
905 | ||
906 | [['src/libsystemd-network/test-ipv4ll-manual.c', | |
907 | 'src/systemd/sd-ipv4ll.h'], | |
908 | [libshared, | |
909 | libsystemd_network], | |
910 | [], | |
911 | '', 'manual'], | |
912 | ||
913 | [['src/libsystemd-network/test-acd.c', | |
914 | 'src/systemd/sd-ipv4acd.h'], | |
915 | [libshared, | |
916 | libsystemd_network], | |
917 | [], | |
918 | '', 'manual'], | |
919 | ||
920 | [['src/libsystemd-network/test-ndisc-rs.c', | |
921 | 'src/libsystemd-network/dhcp-identifier.h', | |
922 | 'src/libsystemd-network/dhcp-identifier.c', | |
923 | 'src/libsystemd-network/icmp6-util.h', | |
924 | 'src/systemd/sd-dhcp6-client.h', | |
925 | 'src/systemd/sd-ndisc.h'], | |
926 | [libshared, | |
34ce0a52 | 927 | libsystemd_network], |
37efbbd8 ZJS |
928 | []], |
929 | ||
4a24ba71 ZJS |
930 | [['src/libsystemd-network/test-ndisc-ra.c', |
931 | 'src/libsystemd-network/icmp6-util.h', | |
932 | 'src/systemd/sd-ndisc.h'], | |
933 | [libshared, | |
934 | libsystemd_network], | |
935 | []], | |
936 | ||
37efbbd8 ZJS |
937 | [['src/libsystemd-network/test-dhcp6-client.c', |
938 | 'src/libsystemd-network/dhcp-identifier.h', | |
939 | 'src/libsystemd-network/dhcp-identifier.c', | |
940 | 'src/libsystemd-network/dhcp6-internal.h', | |
941 | 'src/systemd/sd-dhcp6-client.h'], | |
942 | [libshared, | |
34ce0a52 | 943 | libsystemd_network], |
37efbbd8 ZJS |
944 | []], |
945 | ||
946 | [['src/libsystemd-network/test-lldp.c'], | |
947 | [libshared, | |
948 | libsystemd_network], | |
949 | []], | |
950 | ] | |
69e96427 ZJS |
951 | |
952 | ############################################################ | |
953 | ||
954 | tests += [ | |
37efbbd8 ZJS |
955 | [['src/login/test-login-shared.c'], |
956 | [], | |
957 | []], | |
958 | ||
959 | [['src/login/test-inhibit.c'], | |
960 | [], | |
961 | [], | |
962 | '', 'manual'], | |
963 | ||
964 | [['src/login/test-login-tables.c'], | |
965 | [liblogind_core, | |
34ce0a52 | 966 | libshared], |
37efbbd8 ZJS |
967 | [threads]], |
968 | ] |