From daf2f3c27447fd5c05e7bee533ccef0933cc23b6 Mon Sep 17 00:00:00 2001 From: "许杰友 Jieyou Xu (Joe)" <39484203+jieyouxu@users.noreply.github.com> Date: Fri, 8 Mar 2024 20:44:41 +0000 Subject: Document that test names cannot contain dots (#1927) --- src/doc/rustc-dev-guide/src/tests/ui.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/doc/rustc-dev-guide') diff --git a/src/doc/rustc-dev-guide/src/tests/ui.md b/src/doc/rustc-dev-guide/src/tests/ui.md index cffecda82d7..3f850264075 100644 --- a/src/doc/rustc-dev-guide/src/tests/ui.md +++ b/src/doc/rustc-dev-guide/src/tests/ui.md @@ -64,6 +64,9 @@ The general form is: *test-name*`.`*revision*`.`*compare_mode*`.`*extension* +* *test-name* cannot contain dots. This is so that the general form of test + output filenames have a predictable form we can pattern match on in order to + track stray test output files. * *revision* is the [revision](#cfg-revisions) name. This is not included when not using revisions. * *compare_mode* is the [compare mode](#compare-modes). -- cgit 1.4.1-3-g733a5