From f321c8d39dcc94b960c683623fd1645c50a3269e Mon Sep 17 00:00:00 2001 From: Oli Scherer Date: Tue, 9 May 2023 15:33:51 +0000 Subject: [PATCH] Document some arguments --- src/tools/miri/tests/compiletest.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tools/miri/tests/compiletest.rs b/src/tools/miri/tests/compiletest.rs index 07f5d8e78a1..fe70ab3f45a 100644 --- a/src/tools/miri/tests/compiletest.rs +++ b/src/tools/miri/tests/compiletest.rs @@ -142,7 +142,9 @@ fn run_tests(mode: Mode, path: &str, target: &str, with_dependencies: bool) -> R } ui_test::run_tests_generic( config, + // The files we're actually interested in (all `.rs` files). |path| path.extension().is_some_and(|ext| ext == "rs"), + // This could be used to overwrite the `Config` on a per-test basis. |_, _| None, TextAndGha, )