From 7b05360a1e5aee00c99d9f8a2958984f7de0acdd Mon Sep 17 00:00:00 2001 From: Matthias Krüger Date: Sun, 24 Mar 2024 12:57:54 +0100 Subject: bootstrap/compiletest: implement "crashes" tests that fail if no ice is reproduced --- src/bootstrap/src/core/build_steps/test.rs | 2 ++ src/bootstrap/src/core/builder.rs | 1 + 2 files changed, 3 insertions(+) (limited to 'src/bootstrap') diff --git a/src/bootstrap/src/core/build_steps/test.rs b/src/bootstrap/src/core/build_steps/test.rs index 09763e6bf01..eb6345ecdcc 100644 --- a/src/bootstrap/src/core/build_steps/test.rs +++ b/src/bootstrap/src/core/build_steps/test.rs @@ -1400,6 +1400,8 @@ impl Step for RunMakeSupport { default_test!(Ui { path: "tests/ui", mode: "ui", suite: "ui" }); +default_test!(Crashes { path: "tests/crashes", mode: "crashes", suite: "crashes" }); + default_test!(RunPassValgrind { path: "tests/run-pass-valgrind", mode: "run-pass-valgrind", diff --git a/src/bootstrap/src/core/builder.rs b/src/bootstrap/src/core/builder.rs index e3b27600c5e..224f5350e40 100644 --- a/src/bootstrap/src/core/builder.rs +++ b/src/bootstrap/src/core/builder.rs @@ -745,6 +745,7 @@ impl<'a> Builder<'a> { test::ExpandYamlAnchors, test::Tidy, test::Ui, + test::Crashes, test::RunPassValgrind, test::Coverage, test::CoverageMap, -- cgit 1.4.1-3-g733a5