projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #1059 from jkczyz/2021-08-payment-retry
[rust-lightning]
/
fuzz
/
src
/
bin
/
msg_query_short_channel_ids_target.rs
diff --git
a/fuzz/src/bin/msg_query_short_channel_ids_target.rs
b/fuzz/src/bin/msg_query_short_channel_ids_target.rs
index ad18f21e2c0a67d68bdf0b7c22354d9e3cda9baa..6c470e3b12ed6ce68227d9a97ab3eaba363a87b6 100644
(file)
--- a/
fuzz/src/bin/msg_query_short_channel_ids_target.rs
+++ b/
fuzz/src/bin/msg_query_short_channel_ids_target.rs
@@
-93,10
+93,18
@@
fn run_test_cases() {
}
}
}
}
}
}
+ let mut failed_outputs = Vec::new();
for (test, thread) in threads.drain(..) {
if let Some(output) = thread.join().unwrap() {
for (test, thread) in threads.drain(..) {
if let Some(output) = thread.join().unwrap() {
- println!("
Output of {}:\n{}
", test, output);
-
panic!(
);
+ println!("
\nOutput of {}:\n{}\n
", test, output);
+
failed_outputs.push(test
);
}
}
}
}
+ if !failed_outputs.is_empty() {
+ println!("Test cases which failed: ");
+ for case in failed_outputs {
+ println!("{}", case);
+ }
+ panic!();
+ }
}
}