Fix CI (#681)
* Update test_all_fuzzers.sh * -- * fix ui.rs * fix Co-authored-by: Dominik Maier <dmnk@google.com>
This commit is contained in:
parent
49de0046e8
commit
fd9d126124
@ -132,14 +132,12 @@ impl TuiUI {
|
||||
let tabs = Tabs::new(titles)
|
||||
.block(
|
||||
Block::default()
|
||||
.title(
|
||||
Span::styled(
|
||||
.title(Span::styled(
|
||||
"charts (`g` switch)",
|
||||
Style::default()
|
||||
.fg(Color::LightCyan)
|
||||
.add_modifier(Modifier::BOLD),
|
||||
),
|
||||
)
|
||||
))
|
||||
.borders(Borders::ALL),
|
||||
)
|
||||
.highlight_style(Style::default().fg(Color::LightYellow))
|
||||
@ -277,14 +275,12 @@ impl TuiUI {
|
||||
let chart = Chart::new(datasets)
|
||||
.block(
|
||||
Block::default()
|
||||
.title(
|
||||
Span::styled(
|
||||
.title(Span::styled(
|
||||
title,
|
||||
Style::default()
|
||||
.fg(Color::LightCyan)
|
||||
.add_modifier(Modifier::BOLD),
|
||||
),
|
||||
)
|
||||
))
|
||||
.borders(Borders::ALL),
|
||||
)
|
||||
.x_axis(
|
||||
@ -361,14 +357,12 @@ impl TuiUI {
|
||||
let table = Table::new(items)
|
||||
.block(
|
||||
Block::default()
|
||||
.title(
|
||||
Span::styled(
|
||||
.title(Span::styled(
|
||||
"generic",
|
||||
Style::default()
|
||||
.fg(Color::LightCyan)
|
||||
.add_modifier(Modifier::BOLD),
|
||||
),
|
||||
)
|
||||
))
|
||||
.borders(Borders::ALL),
|
||||
)
|
||||
.widths(&[Constraint::Ratio(1, 2), Constraint::Ratio(1, 2)]);
|
||||
@ -474,8 +468,7 @@ impl TuiUI {
|
||||
};
|
||||
}
|
||||
|
||||
let table =
|
||||
Table::new(items)
|
||||
let table = Table::new(items)
|
||||
.block(
|
||||
Block::default()
|
||||
.title(Span::styled(
|
||||
@ -503,14 +496,12 @@ impl TuiUI {
|
||||
.map(|msg| ListItem::new(Span::raw(msg)))
|
||||
.collect();
|
||||
let logs = List::new(logs).block(
|
||||
Block::default().borders(Borders::ALL).title(
|
||||
Span::styled(
|
||||
Block::default().borders(Borders::ALL).title(Span::styled(
|
||||
"clients logs (`t` to show/hide)",
|
||||
Style::default()
|
||||
.fg(Color::LightCyan)
|
||||
.add_modifier(Modifier::BOLD),
|
||||
),
|
||||
),
|
||||
)),
|
||||
);
|
||||
f.render_widget(logs, area);
|
||||
}
|
||||
|
@ -5,7 +5,7 @@ cd "$SCRIPT_DIR/.." || exit 1
|
||||
|
||||
# TODO: This should be rewritten in rust, a Makefile, or some platform-independent language
|
||||
|
||||
fuzzers=$(find ./fuzzers -maxdepth 1 -type d)
|
||||
fuzzers=$(find ./fuzzers/* -maxdepth 0 -type d)
|
||||
backtrace_fuzzers=$(find ./fuzzers/backtrace_baby_fuzzers -maxdepth 1 -type d)
|
||||
|
||||
libafl=$(pwd)
|
||||
@ -34,7 +34,7 @@ do
|
||||
if [ "$1" != "--no-fmt" ]; then
|
||||
|
||||
echo "[*] Checking fmt for $fuzzer"
|
||||
cargo fmt --all -- --check || exit 1
|
||||
cargo fmt --check || exit 1
|
||||
echo "[*] Running clippy for $fuzzer"
|
||||
cargo clippy || exit 1
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user