Disable run-make tests

This commit is contained in:
Antoni Boucher 2024-07-05 13:11:24 -04:00
parent fe054be06e
commit 14d327a265

View File

@ -1038,18 +1038,19 @@ fn file_handling(file_path: &Path) -> Result<(), String> {
} }
fn test_rustc(env: &Env, args: &TestArg) -> Result<(), String> { fn test_rustc(env: &Env, args: &TestArg) -> Result<(), String> {
test_rustc_inner(env, args, |_| Ok(false), false, "run-make")?; //test_rustc_inner(env, args, |_| Ok(false), false, "run-make")?;
test_rustc_inner(env, args, |_| Ok(false), false, "ui") test_rustc_inner(env, args, |_| Ok(false), false, "ui")
} }
fn test_failing_rustc(env: &Env, args: &TestArg) -> Result<(), String> { fn test_failing_rustc(env: &Env, args: &TestArg) -> Result<(), String> {
let result1 = test_rustc_inner( let result1 = Ok(());
/*test_rustc_inner(
env, env,
args, args,
retain_files_callback("tests/failing-run-make-tests.txt", "run-make"), retain_files_callback("tests/failing-run-make-tests.txt", "run-make"),
false, false,
"run-make", "run-make",
); )*/
let result2 = test_rustc_inner( let result2 = test_rustc_inner(
env, env,
@ -1070,13 +1071,14 @@ fn test_successful_rustc(env: &Env, args: &TestArg) -> Result<(), String> {
false, false,
"ui", "ui",
)?; )?;
test_rustc_inner( Ok(())
/*test_rustc_inner(
env, env,
args, args,
remove_files_callback("tests/failing-run-make-tests.txt", "run-make"), remove_files_callback("tests/failing-run-make-tests.txt", "run-make"),
false, false,
"run-make", "run-make",
) )*/
} }
fn test_failing_ui_pattern_tests(env: &Env, args: &TestArg) -> Result<(), String> { fn test_failing_ui_pattern_tests(env: &Env, args: &TestArg) -> Result<(), String> {