From 7e75a16e6f9e5acbd170deae89ae2dadac86d14c Mon Sep 17 00:00:00 2001 From: Ali Mohammad Pur Date: Mon, 13 Sep 2021 23:44:24 +0430 Subject: [PATCH] Meta: Tweak the error in check-ak-test-files.sh a bit This can also be tripped when the change was simply not being committed, avoid confusing the author by simply mentioning that. --- Meta/check-ak-test-files.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Meta/check-ak-test-files.sh b/Meta/check-ak-test-files.sh index 0ac82bd9586..a716b0d9042 100755 --- a/Meta/check-ak-test-files.sh +++ b/Meta/check-ak-test-files.sh @@ -10,7 +10,7 @@ MISSING_FILES=n while IFS= read -r FILENAME; do # Simply search whether the CMakeLists.txt *ever* mention the test files. if ! grep -qP "${FILENAME}" Tests/AK/CMakeLists.txt ; then - echo "Tests/AK/CMakeLists.txt is missing the test file ${FILENAME}" + echo "Tests/AK/CMakeLists.txt is either missing the test file ${FILENAME} or is not in the commit's staged changes" MISSING_FILES=y fi done < <(