chiark / gitweb /
Prep v239: Remove os-util.[hc] - We do not need anything in there.
[elogind.git] / src / test / meson.build
index ac8467ee693debdec864ffda3895b2dc53dc1f22..0405fac52432934a5988b3b037758b4a435327d4 100644 (file)
@@ -1,19 +1,4 @@
 # SPDX-License-Identifier: LGPL-2.1+
-#
-# Copyright 2017 Zbigniew JÄ™drzejewski-Szmek
-#
-# elogind is free software; you can redistribute it and/or modify it
-# under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation; either version 2.1 of the License, or
-# (at your option) any later version.
-#
-# elogind is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with elogind; If not, see <http://www.gnu.org/licenses/>.
 
 awkscript = 'test-hashmap-ordered.awk'
 test_hashmap_ordered_c = custom_target(
@@ -59,8 +44,8 @@ test_dlopen_c = files('test-dlopen.c')
 ############################################################
 
 #if 0 /// UNNEEDED by elogind
+# test_systemd_tmpfiles_py = find_program('test-systemd-tmpfiles.py')
 #endif // 0
-test_elogind_tmpfiles_py = find_program('test-elogind-tmpfiles.py')
 
 ############################################################
 
@@ -203,6 +188,10 @@ tests += [
          [],
          []],
 
+        [['src/test/test-format-table.c'],
+         [],
+         []],
+
 #if 0 /// UNNEEDED in elogind
 #         [['src/test/test-ratelimit.c'],
 #          [],
@@ -273,6 +262,12 @@ tests += [
          [],
          []],
 
+#if 0 /// UNNEEDED in elogind
+#         [['src/test/test-os-util.c'],
+#          [],
+#          []],
+#endif // 0
+
         [['src/test/test-escape.c'],
          [],
          []],
@@ -407,6 +402,17 @@ tests += [
 #           libseccomp,
 #           libselinux,
 #           libblkid]],
+# 
+#         [['src/test/test-watch-pid.c',
+#           'src/test/test-helper.c'],
+#          [libcore,
+#           libshared],
+#          [libmount,
+#           threads,
+#           librt,
+#           libseccomp,
+#           libselinux,
+#           libblkid]],
 #endif // 0
 
         [['src/test/test-hashmap.c',
@@ -434,6 +440,10 @@ tests += [
          [],
          []],
 
+        [['src/test/test-procfs-util.c'],
+         [],
+         []],
+
         [['src/test/test-unaligned.c'],
          [],
          []],
@@ -599,7 +609,8 @@ tests += [
 #           libseccomp,
 #           libselinux,
 #           libmount,
-#           libblkid]],
+#           libblkid],
+#          '', 'timeout=360'],
 #endif // 0
 
         [['src/test/test-siphash24.c'],
@@ -682,11 +693,28 @@ tests += [
          []],
 
 #if 0 /// UNNEEDED in elogind
+#         [['src/test/test-gcrypt-util.c'],
+#          [],
+#          [],
+#          'HAVE_GCRYPT'],
+# 
 #         [['src/test/test-nss.c'],
 #          [],
 #          [libdl],
 #          '', 'manual'],
+# 
+#         [['src/test/test-umount.c',
+#           'src/core/mount-setup.c',
+#           'src/core/mount-setup.h',
+#           'src/core/umount.c',
+#           'src/core/umount.h'],
+#          [],
+#          [libmount]],
 #endif // 0
+
+        [['src/test/test-bus-util.c'],
+         [],
+         []],
 ]
 
 ############################################################
@@ -753,6 +781,13 @@ tests += [
 #           libxz,
 #           liblz4]],
 # 
+#         [['src/journal/test-journal-config.c'],
+#          [libjournal_core,
+#           libshared],
+#          [libxz,
+#           liblz4,
+#           libselinux]],
+# 
 #         [['src/journal/test-journal-verify.c'],
 #          [libjournal_core,
 #           libshared],
@@ -821,7 +856,11 @@ tests += [
          [threads]],
 
 #if 0 /// UNNEEDED in elogind
-#         [['src/libelogind/sd-bus/test-bus-chat.c'],
+#         [['src/libsystemd/sd-bus/test-bus-watch-bind.c'],
+#          [],
+#          [threads], '', 'timeout=120'],
+# 
+#         [['src/libsystemd/sd-bus/test-bus-chat.c'],
 #          [],
 #          [threads]],
 # 
@@ -924,7 +963,7 @@ tests += [
 #           'src/libsystemd-network/dhcp-protocol.h',
 #           'src/libsystemd-network/dhcp-internal.h'],
 #          [libshared,
-#           libelogind_network],
+#           libsystemd_network],
 #          []],
 # 
 #         [['src/libsystemd-network/test-sd-dhcp-lease.c',
@@ -938,25 +977,25 @@ tests += [
 #           'src/libsystemd-network/dhcp-internal.h',
 #           'src/systemd/sd-dhcp-client.h'],
 #          [libshared,
-#           libelogind_network],
+#           libsystemd_network],
 #          []],
 # 
 #         [['src/libelogind-network/test-dhcp-server.c'],
 #          [libshared,
-#           libelogind_network],
+#           libsystemd_network],
 #          []],
 # 
 #         [['src/libsystemd-network/test-ipv4ll.c',
 #           'src/libsystemd-network/arp-util.h',
 #           'src/systemd/sd-ipv4ll.h'],
 #          [libshared,
-#           libelogind_network],
+#           libsystemd_network],
 #          []],
 # 
 #         [['src/libelogind-network/test-ipv4ll-manual.c',
 #           'src/systemd/sd-ipv4ll.h'],
 #          [libshared,
-#           libelogind_network],
+#           libsystemd_network],
 #          [],
 #          '', 'manual'],
 # 
@@ -974,7 +1013,7 @@ tests += [
 #           'src/systemd/sd-dhcp6-client.h',
 #           'src/systemd/sd-ndisc.h'],
 #          [libshared,
-#           libelogind_network],
+#           libsystemd_network],
 #          []],
 # 
 #         [['src/libsystemd-network/test-ndisc-ra.c',
@@ -990,7 +1029,7 @@ tests += [
 #           'src/libsystemd-network/dhcp6-internal.h',
 #           'src/systemd/sd-dhcp6-client.h'],
 #          [libshared,
-#           libelogind_network],
+#           libsystemd_network],
 #          []],
 # 
 #         [['src/libelogind-network/test-lldp.c'],