refactor(build): python generate_test_list script

This change introduces generate_test_list.py which is exactly like
generate_test_list.pl except written in python. This helps remove a
dependency on perl as well as a dependency on perl's libxml bindings.
The only required dependency is python3 and its standard library.

Tested by generating tests_list.c/h for each xml file and each platform
and comparing it against the output from the original script.

Signed-off-by: Jim Ray <jimray@google.com>
Change-Id: If0fa8d0e45bf58ce35081aaeb7a9320dfcefdbf9
diff --git a/tools/generate_test_list/tests_list.c.tpl b/tools/generate_test_list/tests_list.c.tpl
new file mode 100644
index 0000000..115cb71
--- /dev/null
+++ b/tools/generate_test_list/tests_list.c.tpl
@@ -0,0 +1,7 @@
+#include "tftf.h"
+
+{{function_prototypes}}
+
+{{testcase_lists}}
+
+{{testsuites_list}}