about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-03-24 12:57:54 +0100
committerMatthias Krüger <matthias.krueger@famsik.de>2024-04-14 11:14:45 +0200
commit7b05360a1e5aee00c99d9f8a2958984f7de0acdd (patch)
treec8ad35d4f29b6bfa411145b5b68f58bea5b01caa /src/bootstrap
parent65ca71815a0cc57a7b58a01eb9cfbc0551ccdd3f (diff)
downloadrust-7b05360a1e5aee00c99d9f8a2958984f7de0acdd.tar.gz
rust-7b05360a1e5aee00c99d9f8a2958984f7de0acdd.zip
bootstrap/compiletest: implement "crashes" tests that fail if no ice is reproduced
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/src/core/build_steps/test.rs2
-rw-r--r--src/bootstrap/src/core/builder.rs1
2 files changed, 3 insertions, 0 deletions
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,