[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[cdt-test-dev] Running CDT tests
|
Hi,
I am new to CDT, so please bear with me if questions are too simple/dumb. I
downloaded CDT tests for CDT 3.0.0 RC1, and trying to run the tests
(org.eclipse.cdt.core.tests) from Eclipse, got following error messages:
Buildfile: C:\eclipse\workspace\org.eclipse.cdt.core.tests\test.xml
init:
[delete] Deleting 1 files from C:\eclipse
suite:
ui-test:
eclipse-test:
[echo] Running org.eclipse.cdt.core.suite.AutomatedIntegrationSuite
[java] !SESSION 2005-08-15 11:57:30.856
-----------------------------------------------
[java] eclipse.buildId=I20050627-1435
[java] java.version=1.5.0_02
[java] java.vendor=Sun Microsystems Inc.
[java] BootLoader constants: OS=${os}, ARCH=${arch}, WS=${ws}, NL=en_US
[java] Framework arguments: -application
org.eclipse.test.uitestapplication
formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,org.eclipse.cdt.core.suite.AutomatedIntegrationSuite.xml
-testPluginName org.eclipse.cdt.core.tests -className
org.eclipse.cdt.core.suite.AutomatedIntegrationSuite
[java] Command-line arguments: -application
org.eclipse.test.uitestapplication -dev bin -data c:/eclipse/cdt_folder
formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,org.eclipse.cdt.core.suite.AutomatedIntegrationSuite.xml
-testPluginName org.eclipse.cdt.core.tests -className
org.eclipse.cdt.core.suite.AutomatedIntegrationSuite -os ${os} -ws ${ws}
-arch ${arch} -consolelog
[java] !ENTRY org.eclipse.osgi 2005-08-15 11:57:31.995
[java] !MESSAGE Bundle
update@plugins/org.eclipse.core.resources.win32_3.1.0.jar [41] was not
resolved.
[java] !ENTRY org.eclipse.osgi 2005-08-15 11:57:32.05
[java] !MESSAGE Bundle
update@plugins/org.eclipse.swt.win32.win32.x86_3.1.0.jar [89] was not
resolved.
[java] !ENTRY org.eclipse.osgi 2005-08-15 11:57:32.16
[java] !MESSAGE Bundle update@plugins/org.eclipse.ui.win32_3.1.0.jar
[113] was not resolved.
[java] !ENTRY org.eclipse.osgi 2005-08-15 11:57:32.16
[java] !MESSAGE Bundle
update@plugins/org.eclipse.update.core.win32_3.1.0.jar [119] was not
resolved.
[java] !ENTRY org.eclipse.osgi 2005-08-15 11:57:32.167
[java] !MESSAGE An error occurred while automatically activating bundle
org.eclipse.ui.workbench (116).
[java] !STACK 0
[java] org.osgi.framework.BundleException: The activator
org.eclipse.ui.internal.WorkbenchPlugin for bundle org.eclipse.ui.workbench
is invalid
[java] at
org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:151)
[java] at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:965)
[java] at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:321)
[java] at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:266)
[java] at
org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLocalClass(EclipseClassLoader.java:116)
[java] at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:337)
[java] at
org.eclipse.osgi.framework.internal.core.SingleSourcePackage.loadClass(SingleSourcePackage.java:37)
[java] at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:386)
[java] at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:350)
[java] at
org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.loadClass(AbstractClassLoader.java:78)
[java] at java.lang.ClassLoader.loadClass(Unknown Source)
[java] at java.lang.ClassLoader.loadClassInternal(Unknown Source)
My questions are:
1. It complains about the jar files not resolved, but I checked my
installation, they do exist under directory "c:\eclipse\plugins". Is there
any setting I can try to get rid of those errors?
2. My real target is to automate building and testing of CDT from command
line. It will be good enough if I can automate the testing from command
line. I found out that there is a document about automated testing of
eclipse builds, is there a document about automated testing of CDT builds?
Thanks,
--alex
_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfee®
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963