From 636e65d800b6049e17bdf392dae8749a9cb39f15 Mon Sep 17 00:00:00 2001 From: Tobias Koppers Date: Tue, 30 Jul 2024 08:32:58 +0200 Subject: [PATCH] improve test glob to exclude output folder --- crates/turbopack-tests/build.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/turbopack-tests/build.rs b/crates/turbopack-tests/build.rs index dff0f12de7bad..8e9965a5e378b 100644 --- a/crates/turbopack-tests/build.rs +++ b/crates/turbopack-tests/build.rs @@ -3,7 +3,9 @@ use turbo_tasks_build::{generate_register, rerun_if_glob}; fn main() { generate_register(); // The test/snapshot crate need to be rebuilt if any snapshots are added. - rerun_if_glob("tests/execution/*/*/*", "tests/execution"); + rerun_if_glob("tests/execution/*/*/*/options.json", "tests/execution"); + rerun_if_glob("tests/execution/*/*/*/input", "tests/execution"); + rerun_if_glob("tests/execution/*/*/*/issues", "tests/execution"); rerun_if_glob("tests/execution/*/*/__skipped__/*", "tests/execution"); rerun_if_glob("tests/snapshot/*/*", "tests/snapshot"); }