unable to generate .execution file from .testsuite [message #71128] |
Wed, 17 May 2006 08:49  |
Eclipse User |
|
|
|
Originally posted by: peter.boldizs.siemens.com
Greetings!
I have started working with TPTP JUnit test cases. I have written a simple
tester class and then generated a TPTP JUnit test. I have generated test
method and filled them with meaningful tests (assertEquals(...)).
I was able to run the "normal" JUnit test(Eclipse's own built-in JUnit
utility) successfully. When I tried to run the generated .testsuite file
(as TPTP "Test"), it was supposed to generate some .execution file. This
was unfortunately not successful. Two processes ("Launching" and
"Executing tests") are started but they are stuck and nothing happens.
I have found the following entry in the Eclipse workspace log:
!ENTRY org.eclipse.hyades.test.core 1 0 2006-05-17 14:46:16.24
!MESSAGE
org.eclipse.hyades.internal.execution.local.control.Inactive ProcessException
!STACK 0
org.eclipse.hyades.internal.execution.local.control.Inactive ProcessException
at
org.eclipse.hyades.execution.harness.TestExecutionHarnessExe cutorStub.launch(TestExecutionHarnessExecutorStub.java:417)
at
org.eclipse.hyades.execution.harness.TestExecutionHarness.la unchTestExecution(TestExecutionHarness.java:2058)
at
org.eclipse.hyades.execution.harness.TestExecutionHarness.ac cess$2(TestExecutionHarness.java:1856)
at
org.eclipse.hyades.execution.harness.TestExecutionHarness$2. run(TestExecutionHarness.java:692)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
I would appreciate any help.
Thanks.
Peter Boldizs
|
|
|
|
|
Re: unable to generate .execution file from .testsuite [message #71933 is a reply to message #71807] |
Fri, 26 May 2006 14:21  |
Eclipse User |
|
|
|
Peter Boldizs wrote:
> Hello!
>
> I am using Eclipse 3.1.0 and TPTP 4.1.0.
>
> It did not occur to me that I have to run the Agent Controller for TPTP
> JUnit tests (isn't it only for profiling/logging?). The screencast I
> have seen (TPTP/Documentation/TPTP 4.0.0 Introductory Screencasts/JUnit
> Integration)never mentioned that the Agent Controller must be run.
> Peter
>
No, he didn't say you *had* to run the AC, only that you could. By
default, without the AC, you should be going through the IAC (Integrated
AC) that operates within the same process space. The IAC will be the
default "AC" controlling agents unless it sees that a standalone AC
already has the resources it needs ... named pipe/socket.
You aren't on a system where the AC might have been started as a
service, right? Or where someone else might have the AC running, thus
preventing your workbench from successfully starting the IAC?
--
RDS
Randy D. Smith randy (dot) d (dot) smith (at) intel (dot) com
Eclipse TPTP Committer, Platform Proj (data collection/agent controller)
|
|
|
Powered by
FUDForum. Page generated in 0.10373 seconds