Paul Meyer
ce31ff043e
tests: don't leak TESTFUNCS count into run_test_table() exit code
...
strv_split_full() returns the number of parsed entries, which was
assigned to r, the variable that also holds the run's exit status.
With TESTFUNCS set, a passing run of only void tests then exited with
the entry count (e.g. 1) instead of EXIT_SUCCESS. Use a separate
variable for the split result.
Before:
$ env TESTFUNCS=test_copy_tree meson test -C build -v test-copy
1/1 test - systemd:test-copy FAIL 0.01s exit status 1
$ env TESTFUNCS=test_copy_tree:test_copy_file_fd meson test -C build -v test-copy
1/1 test - systemd:test-copy FAIL 0.01s exit status 2
Now:
$ env TESTFUNCS=test_copy_tree:test_copy_file_fd meson test -C build -v test-copy
1/1 test - systemd:test-copy OK 0.01s
Co-developed-by: Claude Opus 4.8 <noreply@anthropic.com >
Signed-off-by: Paul Meyer <katexochen0@gmail.com >
2026-06-07 19:23:48 +01:00
..
2026-06-01 18:46:24 +01:00
2026-05-18 02:55:56 +09:00
2026-06-03 20:22:48 +01:00
2026-05-16 18:37:10 +02:00
2026-05-21 18:34:01 +02:00
2026-06-01 18:46:24 +01:00
2026-05-19 08:54:27 +02:00
2026-05-16 18:37:10 +02:00
2026-06-05 18:37:57 +02:00
2026-05-21 18:02:05 +02:00
2026-06-01 18:46:24 +01:00
2026-06-01 18:46:24 +01:00
2026-06-03 16:26:04 +02:00
2026-06-01 18:46:24 +01:00
2026-05-16 18:37:10 +02:00
2026-05-21 18:30:16 +02:00
2026-06-03 20:21:54 +01:00
2026-05-21 18:34:01 +02:00
2026-05-29 04:30:48 +09:00
2026-06-01 18:46:24 +01:00
2026-06-01 18:46:24 +01:00
2026-05-21 18:30:16 +02:00
2026-05-16 18:37:10 +02:00
2026-05-16 18:37:10 +02:00
2026-06-01 18:46:24 +01:00
2026-06-01 18:46:24 +01:00
2026-05-21 16:21:13 +02:00
2026-06-01 18:46:24 +01:00
2026-05-31 23:02:25 +01:00
2026-06-01 18:46:24 +01:00
2026-05-28 13:33:08 +01:00
2026-06-01 18:46:24 +01:00
2026-05-24 15:00:37 +02:00
2026-05-29 17:21:31 +01:00
2026-05-27 14:23:34 +02:00
2026-05-21 10:33:03 +09:00
2026-06-06 13:44:07 +01:00
2026-06-01 18:46:24 +01:00
2026-05-21 10:33:03 +09:00
2026-06-01 18:46:24 +01:00
2026-05-14 08:12:28 +02:00
2026-05-21 18:02:05 +02:00
2026-06-01 18:46:24 +01:00
2026-05-21 18:02:05 +02:00
2026-06-02 18:05:34 +02:00
2026-06-01 18:46:24 +01:00
2026-05-21 10:33:03 +09:00
2026-06-04 09:31:45 +02:00
2026-06-01 18:46:24 +01:00
2026-06-01 18:46:24 +01:00
2026-06-01 18:46:24 +01:00
2026-05-18 21:17:38 +00:00
2026-05-16 18:37:10 +02:00
2026-06-03 20:22:48 +01:00
2026-06-01 18:46:24 +01:00
2026-06-04 18:33:19 +01:00
2026-05-18 02:55:56 +09:00
2026-05-21 18:02:05 +02:00
2026-06-01 18:46:24 +01:00
2026-06-07 19:23:48 +01:00
2026-06-03 16:10:20 +02:00
2026-05-18 02:55:56 +09:00
2026-05-18 21:17:38 +00:00
2026-05-20 04:29:59 +09:00
2026-05-29 16:13:29 +02:00
2026-05-16 18:37:10 +02:00
2026-06-01 18:46:24 +01:00
2026-05-21 09:09:38 +09:00
2026-05-21 19:00:58 +01:00
2026-06-05 04:36:32 +09:00
2026-06-02 18:05:34 +02:00
2026-05-26 02:21:50 +09:00
2026-06-05 09:47:02 +01:00
2026-05-16 18:37:10 +02:00
2026-05-18 21:17:38 +00:00
2026-06-01 18:46:24 +01:00
2026-06-01 18:46:24 +01:00
2026-05-21 10:33:03 +09:00
2026-06-01 18:46:24 +01:00
2026-05-29 17:48:52 +01:00
2026-05-16 18:37:10 +02:00
2026-05-18 21:17:38 +00:00
2026-06-01 18:46:24 +01:00
2026-05-16 18:37:10 +02:00
2026-05-20 16:34:21 +02:00
2026-06-01 18:46:24 +01:00
2026-06-01 18:59:20 +01:00