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