Update scripts to use check-names.py

Signed-off-by: Yuto Takano <yuto.takano@arm.com>
diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh
index e6c7549..851287f 100755
--- a/tests/scripts/all.sh
+++ b/tests/scripts/all.sh
@@ -415,7 +415,7 @@
 
 msg "test/build: declared and exported names" # < 3s
 cleanup
-tests/scripts/check-names.sh
+tests/scripts/check-names.py
 
 msg "test: doxygen warnings" # ~ 3s
 cleanup