mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
Disable cli/args test for now, but continue testing roc check on it
Args.roc has always been in a broken state, relying on particular hand-holding of the compiler to operate. With recent changes to type emplacement, Args.roc now shows off compiler bugs that cannot be papered over and need to be addressed head-on. These are problems that I do not think can be directly solved via eliminating type emplacement; I think they are a combination of constraining and mono bugs, and will be investigated separately. For now, turn off attempts to build Args, and instead just test that `roc check` continues to behave well.
This commit is contained in:
parent
08eda910ef
commit
c529505aef
1 changed files with 16 additions and 1 deletions
|
@ -353,7 +353,12 @@ mod cli_run {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
"args" => {
|
"args" => {
|
||||||
custom_flags = vec![LINKER_FLAG, "legacy"];
|
eprintln!(
|
||||||
|
"WARNING: skipping testing example {} because it is known to be bad, pending investigation!",
|
||||||
|
roc_filename
|
||||||
|
);
|
||||||
|
return;
|
||||||
|
// custom_flags = vec![LINKER_FLAG, "legacy"];
|
||||||
}
|
}
|
||||||
_ => {}
|
_ => {}
|
||||||
}
|
}
|
||||||
|
@ -557,6 +562,16 @@ mod cli_run {
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: remove in favor of cli_args once mono bugs are resolved in investigation
|
||||||
|
#[test]
|
||||||
|
#[cfg_attr(windows, ignore = "missing __udivdi3 and some other symbols")]
|
||||||
|
#[serial(cli_platform)]
|
||||||
|
fn cli_args_check() {
|
||||||
|
let path = file_path_from_root("examples/cli", "args.roc");
|
||||||
|
let out = run_roc(&[CMD_CHECK, path.to_str().unwrap()], &[], &[]);
|
||||||
|
assert!(out.status.success());
|
||||||
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg_attr(windows, ignore)]
|
#[cfg_attr(windows, ignore)]
|
||||||
fn interactive_effects() {
|
fn interactive_effects() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue