You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@yetus.apache.org by aa...@apache.org on 2021/04/07 05:20:17 UTC
[yetus] branch main updated: YETUS-1106. Detect CMake test changes
(#215)
This is an automated email from the ASF dual-hosted git repository.
aajisaka pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/yetus.git
The following commit(s) were added to refs/heads/main by this push:
new f9ba017 YETUS-1106. Detect CMake test changes (#215)
f9ba017 is described below
commit f9ba0170a5787a5f4662d3769804fef0226a182f
Author: Gautham B A <ga...@gmail.com>
AuthorDate: Wed Apr 7 10:50:09 2021 +0530
YETUS-1106. Detect CMake test changes (#215)
Signed-off-by: Akira Ajisaka <aa...@apache.org>
---
precommit/src/main/shell/plugins.d/test4tests.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/precommit/src/main/shell/plugins.d/test4tests.sh b/precommit/src/main/shell/plugins.d/test4tests.sh
index 06b860c..16b351c 100755
--- a/precommit/src/main/shell/plugins.d/test4tests.sh
+++ b/precommit/src/main/shell/plugins.d/test4tests.sh
@@ -41,7 +41,7 @@ function test4tests_patchfile
start_clock
for i in "${CHANGED_FILES[@]}"; do
- if [[ ${i} =~ (^|/)test/ ]]; then
+ if [[ ${i} =~ (^|/)tests?/ ]]; then
((testReferences=testReferences + 1))
fi
done