From 0312c6c321ac5d24f56b2c0e69c6252f0667811c Mon Sep 17 00:00:00 2001 From: Ryo Yoshida Date: Tue, 11 Jul 2023 23:36:47 +0900 Subject: [PATCH] Mark test for MIR execution limit as slow test --- crates/hir-ty/src/consteval/tests.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/crates/hir-ty/src/consteval/tests.rs b/crates/hir-ty/src/consteval/tests.rs index 8e21272e14..d99a36f915 100644 --- a/crates/hir-ty/src/consteval/tests.rs +++ b/crates/hir-ty/src/consteval/tests.rs @@ -1,6 +1,7 @@ use base_db::{fixture::WithFixture, FileId}; use chalk_ir::Substitution; use hir_def::db::DefDatabase; +use test_utils::skip_slow_tests; use crate::{ consteval::try_const_usize, db::HirDatabase, mir::pad16, test_db::TestDB, Const, ConstScalar, @@ -2458,6 +2459,10 @@ fn const_trait_assoc() { #[test] fn exec_limits() { + if skip_slow_tests() { + return; + } + check_fail( r#" const GOAL: usize = loop {};