Community
Participate
Working Groups
The proposed patch fixes some errors in the LR Parser tests that have been showing up in the Hudson build. Tests: org.eclipse.cdt.core.lrparser.tests.LRTests.testDesignatedInitializers org.eclipse.cdt.core.lrparser.tests.LRTests.testMoregetDeclarationsInAST1 org.eclipse.cdt.core.lrparser.tests.LRTests.testMoregetDeclarationsInAST2 org.eclipse.cdt.core.lrparser.tests.LRTests.testMoregetDeclarationsInAST3 were failing with miscasts (from CASTInitializerList -> IASTEqualsInitializer) Patch is applied to AST2Tests, which LRTests extends. It also should not adversely affect the AST2Tests. The patch just adds a function to do some quick type checking and handles an object appropriately. -Charley
Created attachment 166562 [details] patch for LR Tests Attached patch.
These tests are no longer failing, though there are a bunch of lrparser failures: https://hudson.eclipse.org/hudson/job/cdt-nightly/lastCompletedBuild/testReport/