|Run junit test application from command line [message #517949]
||Tue, 02 March 2010 15:20
| Mikael Petterson
Registered: July 2009
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?
Powered by FUDForum
. Page generated in 0.02945 seconds