mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
disable platform-switching tests for now
This commit is contained in:
parent
da6a6dcf1c
commit
df953ca30b
1 changed files with 50 additions and 49 deletions
|
@ -392,54 +392,54 @@ mod cli_run {
|
|||
expected_ending:"Hello, World!\n",
|
||||
use_valgrind: true,
|
||||
},
|
||||
platformSwitching:"platform-switching" => Example {
|
||||
filename: "main.roc",
|
||||
executable_filename: "rocLovesPlatforms",
|
||||
stdin: &[],
|
||||
input_file: None,
|
||||
expected_ending:"Which platform am I running on now?\n",
|
||||
use_valgrind: true,
|
||||
},
|
||||
platformSwitchingC:"platform-switching/c-platform" => Example {
|
||||
filename: "rocLovesC.roc",
|
||||
executable_filename: "rocLovesC",
|
||||
stdin: &[],
|
||||
input_file: None,
|
||||
expected_ending:"Roc <3 C!\n",
|
||||
use_valgrind: true,
|
||||
},
|
||||
platformSwitchingRust:"platform-switching/rust-platform" => Example {
|
||||
filename: "rocLovesRust.roc",
|
||||
executable_filename: "rocLovesRust",
|
||||
stdin: &[],
|
||||
input_file: None,
|
||||
expected_ending:"Roc <3 Rust!\n",
|
||||
use_valgrind: true,
|
||||
},
|
||||
platformSwitchingSwift:"platform-switching/swift-platform" => Example {
|
||||
filename: "rocLovesSwift.roc",
|
||||
executable_filename: "rocLovesSwift",
|
||||
stdin: &[],
|
||||
input_file: None,
|
||||
expected_ending:"Roc <3 Swift!\n",
|
||||
use_valgrind: true,
|
||||
},
|
||||
platformSwitchingWebAssembly:"platform-switching/web-assembly-platform" => Example {
|
||||
filename: "rocLovesWebAssembly.roc",
|
||||
executable_filename: "rocLovesWebAssembly",
|
||||
stdin: &[],
|
||||
input_file: None,
|
||||
expected_ending:"Roc <3 Web Assembly!\n",
|
||||
use_valgrind: true,
|
||||
},
|
||||
platformSwitchingZig:"platform-switching/zig-platform" => Example {
|
||||
filename: "rocLovesZig.roc",
|
||||
executable_filename: "rocLovesZig",
|
||||
stdin: &[],
|
||||
input_file: None,
|
||||
expected_ending:"Roc <3 Zig!\n",
|
||||
use_valgrind: true,
|
||||
},
|
||||
// platformSwitching:"platform-switching" => Example {
|
||||
// filename: "main.roc",
|
||||
// executable_filename: "rocLovesPlatforms",
|
||||
// stdin: &[],
|
||||
// input_file: None,
|
||||
// expected_ending:"Which platform am I running on now?\n",
|
||||
// use_valgrind: true,
|
||||
// },
|
||||
// platformSwitchingC:"platform-switching/c-platform" => Example {
|
||||
// filename: "rocLovesC.roc",
|
||||
// executable_filename: "rocLovesC",
|
||||
// stdin: &[],
|
||||
// input_file: None,
|
||||
// expected_ending:"Roc <3 C!\n",
|
||||
// use_valgrind: true,
|
||||
// },
|
||||
// platformSwitchingRust:"platform-switching/rust-platform" => Example {
|
||||
// filename: "rocLovesRust.roc",
|
||||
// executable_filename: "rocLovesRust",
|
||||
// stdin: &[],
|
||||
// input_file: None,
|
||||
// expected_ending:"Roc <3 Rust!\n",
|
||||
// use_valgrind: true,
|
||||
// },
|
||||
// platformSwitchingSwift:"platform-switching/swift-platform" => Example {
|
||||
// filename: "rocLovesSwift.roc",
|
||||
// executable_filename: "rocLovesSwift",
|
||||
// stdin: &[],
|
||||
// input_file: None,
|
||||
// expected_ending:"Roc <3 Swift!\n",
|
||||
// use_valgrind: true,
|
||||
// },
|
||||
// platformSwitchingWebAssembly:"platform-switching/web-assembly-platform" => Example {
|
||||
// filename: "rocLovesWebAssembly.roc",
|
||||
// executable_filename: "rocLovesWebAssembly",
|
||||
// stdin: &[],
|
||||
// input_file: None,
|
||||
// expected_ending:"Roc <3 Web Assembly!\n",
|
||||
// use_valgrind: true,
|
||||
// },
|
||||
// platformSwitchingZig:"platform-switching/zig-platform" => Example {
|
||||
// filename: "rocLovesZig.roc",
|
||||
// executable_filename: "rocLovesZig",
|
||||
// stdin: &[],
|
||||
// input_file: None,
|
||||
// expected_ending:"Roc <3 Zig!\n",
|
||||
// use_valgrind: true,
|
||||
// },
|
||||
fib:"algorithms" => Example {
|
||||
filename: "fibonacci.roc",
|
||||
executable_filename: "fibonacci",
|
||||
|
@ -829,7 +829,8 @@ mod cli_run {
|
|||
}
|
||||
|
||||
// We test benchmarks separately
|
||||
if example_dir_name != "benchmarks" {
|
||||
// TODO re-enable platform-switching
|
||||
if example_dir_name != "benchmarks" && example_dir_name != "platform-switching" {
|
||||
all_examples.remove(example_dir_name.as_str()).unwrap_or_else(|| {
|
||||
panic!("The example directory {}/{} does not have any corresponding tests in cli_run. Please add one, so if it ever stops working, we'll know about it right away!", examples_dir, example_dir_name);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue