mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
don't try to run expects on windows
This commit is contained in:
parent
9536d0b1a0
commit
dba6a57c04
1 changed files with 10 additions and 6 deletions
|
@ -142,13 +142,17 @@ mod cli_run {
|
||||||
std::env::set_var("NO_AVX512", "1");
|
std::env::set_var("NO_AVX512", "1");
|
||||||
}
|
}
|
||||||
|
|
||||||
let cli_commands = if test_many_cli_commands {
|
// TODO: expects don't currently work on windows
|
||||||
vec![CliMode::RocBuild, CliMode::RocRun, CliMode::Roc]
|
let cli_commands = if cfg!(windows) {
|
||||||
} else if cfg!(windows) {
|
match test_many_cli_commands {
|
||||||
// TODO: expects don't currently work on windows
|
true => vec![CliMode::RocBuild, CliMode::RocRun],
|
||||||
vec![CliMode::RocRun]
|
false => vec![CliMode::RocRun],
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
vec![CliMode::Roc]
|
match test_many_cli_commands {
|
||||||
|
true => vec![CliMode::RocBuild, CliMode::RocRun, CliMode::Roc],
|
||||||
|
false => vec![CliMode::Roc],
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
for cli_mode in cli_commands.iter() {
|
for cli_mode in cli_commands.iter() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue