From afdce751cf4c51d9ab2a64b98595af8dbbe4f367 Mon Sep 17 00:00:00 2001 From: Erik Eckstein Date: Fri, 29 Aug 2025 11:02:45 +0200 Subject: [PATCH] tests: small improvement for Misc/verify-swift-feature-testing.test-sh The `git grep` command fails if the repository has a branch named `test`. Inserting a `--` in the git command line makes it clear that `test` is the directory and not the branch --- test/Misc/verify-swift-feature-testing.test-sh | 1 + 1 file changed, 1 insertion(+) diff --git a/test/Misc/verify-swift-feature-testing.test-sh b/test/Misc/verify-swift-feature-testing.test-sh index 363f588315403..df65d56b4e590 100755 --- a/test/Misc/verify-swift-feature-testing.test-sh +++ b/test/Misc/verify-swift-feature-testing.test-sh @@ -114,6 +114,7 @@ def find_matches(swift_src_root): # Be careful to not use RUN with a colon after it or Lit will pick # it up. "RUN[:].*-enable-(experimental|upcoming)-feature", + "--", "test", "validation-test", ],