Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] cannot get tests plugin to run - help

Are you able to run them on your machine?

 

A hack I have used to look at a file on the file system is to create a new Hudson job which runs a shell command that will simply do:

cat /jobs/genie.tools.cdt/cdt-verify/workspace_2/launch/org.eclipse.cdt.launchbar.core.tests/target/work/data/.metadata/.log

 

Then you can see the result in the job output.

Once done, you can delete that job.

 

From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Alena Laskavaia
Sent: Friday, August 01, 2014 3:51 PM
To: CDT General developers list.
Subject: [cdt-dev] cannot get tests plugin to run - help

 

I created tests for launchbar but I cannot seems to make it run, no matter what I do

I get this error

 

 
[INFO] --- tycho-surefire-plugin:0.21.0:test (default-test) @ org.eclipse.cdt.launchbar.core.tests ---
[INFO] Expected eclipse log file: /jobs/genie.tools.cdt/cdt-verify/workspace_2/launch/org.eclipse.cdt.launchbar.core.tests/target/work/data/.metadata/.log
[INFO] Command line:
        [/opt/public/common/jdk1.7.0_51/jre/bin/java, -Dosgi.noShutdown=false, -Dosgi.os=linux, -Dosgi.ws=gtk, -Dosgi.arch=x86_64, -ea, -Xms256m, -Xmx512m, -XX:MaxPermSize=256M, -Dosgi.clean=true, -jar, /opt/public/hipp/homes/genie.tools.cdt/.m2/repository/p2/osgi/bundle/org.eclipse.equinox.launcher/1.3.0.v20140415-2008/org.eclipse.equinox.launcher-1.3.0.v20140415-2008.jar, -data, /jobs/genie.tools.cdt/cdt-verify/workspace_2/launch/org.eclipse.cdt.launchbar.core.tests/target/work/data, -install, /jobs/genie.tools.cdt/cdt-verify/workspace_2/launch/org.eclipse.cdt.launchbar.core.tests/target/work, -configuration, /jobs/genie.tools.cdt/cdt-verify/workspace_2/launch/org.eclipse.cdt.launchbar.core.tests/target/work/configuration, -application, org.eclipse.tycho.surefire.osgibooter.uitest, -testproperties, /jobs/genie.tools.cdt/cdt-verify/workspace_2/launch/org.eclipse.cdt.launchbar.core.tests/target/surefire.properties]
Xlib:  extension "RANDR" missing on display ":187.0".
java.lang.RuntimeException: Bundle org.eclipse.cdt.launchbar.core.tests is not found
        at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.getBundleClassLoader(OsgiSurefireBooter.java:150)
        at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:68)
        .... skip .....
        at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
[ERROR] There are test failures.
 
Please refer to /jobs/genie.tools.cdt/cdt-verify/workspace_2/launch/org.eclipse.cdt.launchbar.core.tests/target/surefire-reports for the individual test results.
 
 
 
 
 
 
 
I would love to look at that log file, but I don't know how
 
/jobs/genie.tools.cdt/cdt-verify/workspace_2/launch/org.eclipse.cdt.launchbar.core.tests/target/work/data/.metadata/.log
 
 

Back to the top