Unit tests working on generated projects

This commit is contained in:
Eric Ratliff
2026-02-18 21:00:24 -06:00
parent c41776df22
commit eee2f690da
3 changed files with 23 additions and 19 deletions

View File

@@ -161,8 +161,8 @@ fn print_diagnostics(health: &SystemHealth) {
} else if !health.avr_core_ok {
println!(
" {} avr-size {}",
"--".bright_black(),
"included with arduino:avr core (no separate install)".bright_black()
"na".yellow(),
"included with arduino:avr core (no separate install)".yellow()
);
} else {
// Core is installed but avr-size is not on PATH --
@@ -170,8 +170,8 @@ fn print_diagnostics(health: &SystemHealth) {
// inside the Arduino15 packages directory.
println!(
" {} avr-size {}",
"--".bright_black(),
hint_avr_size_not_on_path().bright_black()
"na".yellow(),
hint_avr_size_not_on_path().yellow()
);
}
@@ -195,8 +195,8 @@ fn print_diagnostics(health: &SystemHealth) {
} else {
println!(
" {} cmake {}",
"--".bright_black(),
hint_cmake().bright_black()
"na".yellow(),
hint_cmake().yellow()
);
}
@@ -206,8 +206,8 @@ fn print_diagnostics(health: &SystemHealth) {
} else {
println!(
" {} C++ compiler {}",
"--".bright_black(),
hint_cpp_compiler().bright_black()
"na".yellow(),
hint_cpp_compiler().yellow()
);
}
@@ -217,8 +217,8 @@ fn print_diagnostics(health: &SystemHealth) {
} else {
println!(
" {} git {}",
"--".bright_black(),
hint_git().bright_black()
"na".yellow(),
hint_git().yellow()
);
}
@@ -235,8 +235,8 @@ fn print_diagnostics(health: &SystemHealth) {
} else {
println!(
" {} no serial ports {}",
"--".bright_black(),
"(plug in a board to detect)".bright_black()
"na".yellow(),
"(plug in a board to detect)".yellow()
);
}
}