From Fedora Project Wiki

Revision as of 22:05, 24 November 2009 by Valce (talk | contribs) (→‎Testing)

Testing eclipse-cdt on F-12

Setup

  1. Use fedora-cvs eclipse-cdt to grab a copy of the CDT from fedora's CVS
  2. In the F-12 folder, cat eclipse-cdt.spec | grep define\ build_id and note the build_id (e.g. v200906161748)
  3. In an Eclipse install, open up the CVS repository and paste :pserver:anonymous@dev.eclipse.org:/cvsroot/tools into the location
  4. Under HEAD, go to org.eclipse.cdt, go into the all folder and right click the packages there. Select Checkout As, then click Next until you get to the final screen. In the Tag box, type the build id. This will start searching for the tag, select it and click Finish


Testing

org.eclipse.cdt.core.tests

  1. suite --> AutomatedIntegrationSuite: 3698 | 0 | 0
  2. parser --> ParserTestSuite: 2259 | 0 | 0
  3. org.eclipse.cdt.core.parser.tests.prefix --> CompletionTestSuite: 5 | 0 | 0
  4. org.eclipse.cdt.core.parser.tests.rewrite.astwriter --> AstWriterTestSuite: 331 | 0 | 0


The following tests have failures, but they fluctuate

  1. org.eclipse.cdt.core.parser.tests.rewrite.changegenerator --> ChangeGeneratorTestSuite: 43 | 0 | 16
  2. org.eclipse.cdt.core.parser.tests.rewrite.changegenerator.append --> TestSuite: 9 | 0 | 1
  3. org.eclipse.cdt.core.parser.tests.rewrite.changegenerator.insertbefore --> InsertBeforeTestSuite 8 | 0 | 3

Number of failures varies -- tests pass if you run them directly, but fail otherwise.