Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » Run junit test application from command line
Run junit test application from command line [message #517949] Tue, 02 March 2010 15:20
Mikael Petterson is currently offline Mikael PettersonFriend
Messages: 153
Registered: July 2009
Senior Member
Hi,

I am trying to run my junit test using profiler in tptp 4.6.

I have managed to do that from within Eclipse (Profile as Junit ) but how can I do that from cli on linux. If it was an ordinary application I would have written something like:

# set LD_LIBRARY_PATH first.

<java_home>/bin/java '-agentpath:<eclipse install dir> /org.eclipse.tptp.platform.jvmti.runtime_4.5.2.v201002100210 /agent_files/linux_ia32/libJPIBootLoader.so=JPIAgent:server= enabled,file=log.trcxml;CGProf' <package>.MyJunitTest

What do I need to change to execute my class as a junit test?

br,

//mike
Previous Topic:Object Allocation analysis on JVM 1.5
Next Topic:TPTP profiling timeout error
Goto Forum:
  


Current Time: Mon Dec 22 13:44:14 GMT 2014

Powered by FUDForum. Page generated in 0.09111 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software