[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [cdt-patch] adding ui, debug tests to nightly build
|
Re: Managed Build tests not running.
I took a look at the patch:
+</target>
+ <target name="cdt-managedbuilder" depends="init">
+ <ant target="ui-test" antfile="${library-file}"
dir="${eclipse-home}">
+ <property name="data-dir" value="${cdt-ui-loc}"/>
+ <property name="plugin-name
"value="org.eclipse.managedbuilder.core.tests"/>
+ <property name="classname"
value="org.eclipse.cdt.managedbuilder.tests.suite.AllManagedBuildTests
Could the problem be the use of ${cdt-ui-loc} above instead of
$(cdt-managedbuilder-loc}?
Regards,
Leo
-----Original Message-----
From: cdt-patch-admin@xxxxxxxxxxx [mailto:cdt-patch-admin@xxxxxxxxxxx]
On Behalf Of Andrew Niefer
Sent: Thursday, February 10, 2005 10:37 AM
To: cdt-patch@xxxxxxxxxxx
Cc: cdt-test-dev@xxxxxxxxxxx
Subject: Re: [cdt-patch] adding ui, debug tests to nightly build
I Applied the ui.tests patch, Someone else (Doug!) will need to apply
testing patch (in the releng folder) since I don't have commit rights to
that.
-Andrew
cdt-patch-admin@xxxxxxxxxxx wrote on 02/03/2005 04:05:23 PM:
>
>
>
> The automated tests get included in the nightly builds in this
> patch, as well as including the new ui regression tests in the
> automated suite. The main class that the eclipse test application
> runs is shown for each of the following cdt test plugins, as well as
> which test application runs it: org.eclipse.test.uitestapplication
> (runs eclipse ui during tests) or org.eclipse.test.
> coretestapplication (doesn't need eclipse ui).
>
> org.eclipse.cdt.core.tests: org.eclipse.cdt.core.suite.
> AutomatedIntegrationSuite (coretestapplication)
> org.eclipse.cdt.ui.tests: org.eclipse.cdt.ui.tests.AutomatedSuite
> (uitestapplication)
> org.eclipse.cdt.debug.ui.tests: org.eclipse.cdt.debug.core.tests.
> AllDebugTests (uitestapplication)
> org.eclipse.managedbuilder.core.tests: org.eclipse.cdt.
> managedbuilder.tests.suite.AllManagedBuildTests (uitestapplication)
>
> For the Debug and ManagedBuilder tests, let me know if these are not
> the correct suite for the nightly builds.
>
> I have only included the core, ui, and debug in the nightly build
> since managed build tests would fail with a NPE at the first test:
> the suite itself is likely ok, just having troubles getting started
> with the AntRunner.
>
> Error: java.lang.NullPointerException
> org.eclipse.test.EclipseTestRunner$TestFailedException: Error: java.
> lang.NullPointerException
> at
org.eclipse.test.EclipseTestRunner.runFailed(EclipseTestRunner.java:269)
> at
org.eclipse.test.EclipseTestRunner.getTest(EclipseTestRunner.java:238)
> at
org.eclipse.test.EclipseTestRunner.<init>(EclipseTestRunner.java:213)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:197)
> at
org.eclipse.test.UITestApplication$3.run(UITestApplication.java:188)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> at org.eclipse.swt.widgets.Synchronizer.
> runAsyncMessages(Synchronizer.java:118)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2780)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2451)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1569)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1540)
> at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:2
85)
> at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144)
> at
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:102)
> at org.eclipse.test.UITestApplication.
> runApplication(UITestApplication.java:131)
> at org.eclipse.test.UITestApplication.run(UITestApplication.java:58)
> at org.eclipse.core.internal.runtime.PlatformActivator$1.
> run(PlatformActivator.java:220)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.
> run(EclipseStarter.java:273)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.
> run(EclipseStarter.java:129)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.
> invoke(NativeMethodAccessorImpl.java:85)
> at sun.reflect.NativeMethodAccessorImpl.
> invoke(NativeMethodAccessorImpl.java:58)
> at sun.reflect.DelegatingMethodAccessorImpl.
> invoke(DelegatingMethodAccessorImpl.java:60)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
> at org.eclipse.core.launcher.Main.run(Main.java:710)
> at org.eclipse.core.launcher.Main.main(Main.java:694)
> Also, only 2 of 7 Debug tests are passing, so these should be looked
> at for our next milestone.
>
> I fixed some content assist regression tests in the ui.tests patch
too.
> Thanks,
> Tanya[attachment "cdt.ui.tests-patch.txt" deleted by Andrew
> Niefer/Ottawa/IBM] [attachment "cdt-testing-patch.txt" deleted by
> Andrew Niefer/Ottawa/IBM]
_______________________________________________
cdt-patch mailing list
cdt-patch@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/cdt-patch