From 6a0b550fb84114071c6d48755d96913e741d9953 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Fri, 14 Apr 2023 05:32:12 -0400 Subject: [PATCH] Add a way to turn errors into warnings for undefined keys --- tests/tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tests.sh b/tests/tests.sh index f694c93..758f63d 100755 --- a/tests/tests.sh +++ b/tests/tests.sh @@ -65,7 +65,7 @@ find . -name AndroidManifest.xml |while read -r manifest;do ag '"'"$key"'"' /build/AOSP-8.1/frameworks/base/core/res/res)> /dev/null ;then echo "$key" >> tests/knownKeys else - fail "$xml" "defines a non-existing attribute $key" + fail "$xml" "defines a non-existing attribute $key" "I swear it makes sense to set $key, and I can completely explain why." fi done done