mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
test: Show debug log on unit test failure
This commit is contained in:
parent
17e14ac92f
commit
fa37e0a68b
7 changed files with 34 additions and 0 deletions
|
|
@ -4,10 +4,14 @@
|
|||
|
||||
#include <test/fuzz/fuzz.h>
|
||||
|
||||
#include <test/util/setup_common.h>
|
||||
|
||||
#include <cstdint>
|
||||
#include <unistd.h>
|
||||
#include <vector>
|
||||
|
||||
const std::function<void(const std::string&)> G_TEST_LOG_FUN{};
|
||||
|
||||
static bool read_stdin(std::vector<uint8_t>& data)
|
||||
{
|
||||
uint8_t buffer[1024];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue