Switch to the new Python implementation of check-names

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh
index fa6791c..2b1e486 100755
--- a/tests/scripts/all.sh
+++ b/tests/scripts/all.sh
@@ -706,7 +706,7 @@
 
 component_check_names () {
     msg "Check: declared and exported names (builds the library)" # < 3s
-    record_status tests/scripts/check-names.sh -v
+    record_status tests/scripts/check_names.py -v
 }
 
 component_check_test_cases () {