@@ -0,0 +1,581 @@
+import unittest%0Aimport sys%0Afrom ctypeslib import h2xml, xml2py%0A%0Aclass ToolchainTest(unittest.TestCase):%0A    if sys.platform == %22win32%22:%0A        def test(self):%0A            h2xml.main(%5B%22h2xml%22, %22-q%22,%0A                        %22-D WIN32_LEAN_AND_MEAN%22,%0A                        %22-D _UNICODE%22, %22-D UNICODE%22,%0A                        %22-c%22, %22windows.h%22,%0A                        %22-o%22, %22_windows_gen.xml%22%5D)%0A            xml2py.main(%5B%22xml2py%22, %22_windows_gen.xml%22, %22-w%22, %22-o%22, %22_winapi_gen.py%22%5D)%0A            import _winapi_gen%0A%0Aif __name__ == %22__main__%22:%0A    import unittest%0A    unittest.main()%0A

Test the complete h2xml and xml2py toolchain on Windows by running it over 'windows.h'.