python usage for test cases

I have written a python based COFF object file dumper for use in automated testing. I followed the lead for the MachO test cases. Some concerned was expressed with putting a dependency on python into LLVM. I was wondering what way I should go on this one? Aaron has a C++ COFF dumper available that could be used also.

  • Nathan

The clang tester already uses python, and there is 'make check-lit'
which can be used for testing.
I don't think a python dependency is a problem, you are more likely to
find python installed by default on various OSes than dejagnu.

And you can always make the test optional. i.e. if python is not
installed, skip the test.

Best regards,
--Edwin