| Summary: | API Tools test failures in I20110729-1200 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Curtis Windatt <curtis.windatt.public> | ||||
| Component: | API Tools | Assignee: | Curtis Windatt <curtis.windatt.public> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | aniefer, ankur_sharma, daniel_megert, kim.moir, Michael_Rennie, Olivier_Thomann | ||||
| Version: | 3.7 | ||||||
| Target Milestone: | 3.8 M1 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Curtis Windatt
I guess the same applies to 3.7 maintenance. I didn't add the pde.api tools 1.7 fragment until this morning. Also, a 1.7 JDK is not available to the tests. Right now, we run the tests with a 1.6 VM. I'll make the the JavaSE-1.7 property available to the tests. Another question, why doesn't the BREE for the pde.api.tools.tests specify 1.7 if it is required to run the tests? The intention was for the 1.7 tests to be optional. They should not fail when a 1.7 JRE is not available. This was following the same code style as the 1.5 tests (at some point in the past the BREE was bumped to 1.5). There are two separate issues: 1) Tests that require 1.7 compliance are not skipped. 2) Some tests import and build the RefProject which includes a class that uses 1.7 constructs. Created attachment 200858 [details]
Fix
Patch applied to HEAD and released. (1) is fixed by modifying the test suite creation to not include the Java 7 tests if no compatible JRE is available. Thanks Mike. (2) is fixed by moving the java 7 file into its own folder outside the typical usage test projects folder. The java 7 test that needs that project imports it separately. Investigating releasing the fix to 3.7.1 Released to R3_7_maintenance No Java7 related failures in I20110803-1800 But there are API tools failures. What's causing those? I know and I am looking into it and prima facie they are not Java7 related. No api tools test has failed across all platforms. (In reply to comment #11) > I know and I am looking into it Is there a bug for that investigation? (In reply to comment #12) > Is there a bug for that investigation? I guess this is bug 354017 |