Skip to main content



      Home
Home » Archived » 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 10:20
Eclipse UserFriend
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: Sun Jul 13 00:27:58 EDT 2025

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

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

Back to the top