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