test: Make gentest.py use Doxygen XML This adds Python code to look up the required feature macros for a symbol in tools/xmlmod.py.