Unit tests working on generated projects
This commit is contained in:
@@ -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()
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user