VHDL test results are converted to JUnit (or other Jenkins approved) format
I am setting up automatic regression testing for FPGA projects, almost entirely as follows:
> Continuous integration of complex reconfigurable systems
Now I want to see the test results in the Jenkins test report (from the VHDL report statement in the Modelsim simulation) My understanding is that Jenkins only supports JUnit format. I'm looking for plug-ins that support non XML format but don't see any format
Generating valid XML from a VHDL report statement will be very difficult because the simulation may terminate immediately depending on the severity This means that every possible exit path for each individual test must copy the end tag - not the easiest to maintain method
So, do you know any simple way to convert plain text to JUnit (or other format, if Jenkins supports it)? If something doesn't exist yet, is there an advantage to writing a Jenkins plug-in versus just throwing a Perl script? Any other suggestions?
Solution
You should see xUnit plugin The plug - in reads test results from many tools and seems to be suitable for custom formats From the document, the plug-in can read not only XML, but also CSV and TXT For custom format, you need to specify some style sheets for conversion, and I'm not sure if this will always be done for you But even if it doesn't, I think the plug-in should easily extend to your own format