mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-04 23:05:47 +02:00
bug 300016: JUnit failure: wrong benchmark for ManagedBuildCoreTests20.testProjectUpdate20_Update
This commit is contained in:
parent
6b08d237f0
commit
ba952b0604
1 changed files with 4 additions and 2 deletions
|
@ -392,11 +392,13 @@ class UpdateManagedProject20 {
|
||||||
for(int i = 0; i < options.length; i++){
|
for(int i = 0; i < options.length; i++){
|
||||||
IOption curOption = options[i];
|
IOption curOption = options[i];
|
||||||
IOption parent = curOption.getSuperClass();
|
IOption parent = curOption.getSuperClass();
|
||||||
//String curOptionId = curOption.getId();
|
|
||||||
|
|
||||||
if(parent == null)
|
if(parent == null)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
for (;parent.getSuperClass()!=null;parent = parent.getSuperClass()) {
|
||||||
|
// empty body, the loop is to find superclass
|
||||||
|
}
|
||||||
|
|
||||||
String parentId = parent.getId();
|
String parentId = parent.getId();
|
||||||
if(!parentId.equals(optId))
|
if(!parentId.equals(optId))
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Add table
Reference in a new issue