Update scripts to use check-names.py

Signed-off-by: Yuto Takano <yuto.takano@arm.com>
diff --git a/.travis.yml b/.travis.yml
index fa01e5a..06495e4 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,7 +8,7 @@
 - tests/scripts/recursion.pl library/*.c
 - tests/scripts/check-generated-files.sh
 - tests/scripts/check-doxy-blocks.pl
-- tests/scripts/check-names.sh
+- tests/scripts/check-names.py
 - tests/scripts/doxygen.sh
 - cmake -D CMAKE_BUILD_TYPE:String="Check" .
 - make
diff --git a/tests/git-scripts/pre-push.sh b/tests/git-scripts/pre-push.sh
index ee54a6c..2058a57 100755
--- a/tests/git-scripts/pre-push.sh
+++ b/tests/git-scripts/pre-push.sh
@@ -43,5 +43,5 @@
 }
 
 run_test ./tests/scripts/check-doxy-blocks.pl
-run_test ./tests/scripts/check-names.sh
+run_test ./tests/scripts/check-names.py
 run_test ./tests/scripts/check-generated-files.sh
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