Merge bitcoin/bitcoin#29304: fuzz: Exit and log stderr for parse_test_list errors

9d09c873a5 fuzz: Exit and log stderr for parse_test_list errors (dergoegge)

Pull request description:

  We should log all errors that occur when attempting to print the harness list in the fuzz test runner.

ACKs for top commit:
  maflcko:
    lgtm ACK 9d09c873a5

Tree-SHA512: 50471b732c8cbe287dacba14487e7c8a5826f146432d93aa3bb55d063a8ba158d01641d6cb1360241dd4cd54ef5e045b0412f9cc34d06c181134921d1f1ceced
This commit is contained in:
fanquake 2024-01-24 15:13:18 +00:00
commit ea4ddd8652
No known key found for this signature in database
GPG key ID: 2EEB9F5CC09526C1

View file

@ -372,8 +372,8 @@ def parse_test_list(*, fuzz_bin):
'PRINT_ALL_FUZZ_TARGETS_AND_ABORT': ''
},
stdout=subprocess.PIPE,
stderr=subprocess.DEVNULL,
text=True,
check=True,
).stdout.splitlines()
return test_list_all