]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: extend timeout for test-time-util
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 3 Mar 2023 04:22:27 +0000 (13:22 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 3 Mar 2023 11:39:19 +0000 (20:39 +0900)
The test forks so many child processes, and may hit the default time
limit on slow environment or running with sanitizers.

src/test/meson.build

index dc9e95a7bdd3ea4cd42269cb61a7555ae9670fa6..ae4c3f13aa89872d2be7bcde8b45d9ffee764f86 100644 (file)
@@ -156,7 +156,6 @@ simple_tests += files(
         'test-strxcpyx.c',
         'test-sysctl-util.c',
         'test-terminal-util.c',
-        'test-time-util.c',
         'test-tmpfile-util.c',
         'test-tmpfiles.c',
         'test-tpm2.c',
@@ -501,6 +500,10 @@ tests += [
                         udev_includes,
                 ],
         },
+        {
+                'sources' : files('test-time-util.c'),
+                'timeout' : 120,
+        },
         {
                 'sources' : files('test-udev.c'),
                 'link_with' : [