Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 491048

Summary: Simplify testManifest.xml files
Product: [Eclipse Project] Platform Reporter: David Williams <david_williams>
Component: RelengAssignee: David Williams <david_williams>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: 4.6   
Target Milestone: 4.6 M7   
Hardware: PC   
OS: Linux   
Whiteboard:

Description David Williams CLA 2016-04-05 00:50:31 EDT
This files could be simplified in many ways. Most of the info in them is not used any longer, and some could perhaps be replaced by some "php" files to "include". 

BUT, this bug is about the "test logs" section as a followup to bug 490728. 

They currently look similar to the following (times 50)


    <logFile name="org.eclipse.pde.ui.tests_macosx.cocoa.x86_64_7.0.xml">
      <effectedFile id="PDE"></effectedFile>
      <effectedFile id="PDESDK"></effectedFile>
      <effectedFile id="SMCC"></effectedFile>
    </logFile>

    <logFile name="org.eclipse.pde.ui.tests_linux.gtk.x86_64_8.0.xml">
      <effectedFile id="PDE"></effectedFile>
      <effectedFile id="PDESDK"></effectedFile>
      <effectedFile id="SLG2"></effectedFile>
    </logFile>

All that is needed, now, is 

    <logFile name="org.eclipse.pde.ui.tests" />

Slightly better would be 

    <logFile name="org.eclipse.pde.ui.tests"
             type="test" />

(We currently assume "test log files" are the only ones without a "type" attribute, which while true is not very good XML -- the self-describing data format). 

I see this as a minor enhancement since the current "build tools" will read the current testManifest.xml. But ... good to keep track of improvements.