Red Hat Bugzilla – Bug 975872
Add tests subpackage.
Last modified: 2013-09-16 20:32:35 EDT
The tests subpackage should contain the tests in linuxtools tarball in compiled form with a launcher to run them against system installed linuxtools (via rpm) and summary or the results. eclipse-tests from eclipse.srpm should be a good thing to look at for model.
I'd like to propose the running of tests with Tycho Surefire to stay as similar as we can to the way upstream does things. I've put together a small tool that takes a set of Eclipse Test Bundle jars generated from Maven/Tycho, and runs Tycho Surefire on them. This mainly required placing the manifest, pom, and .class files in the proper location. The work can be found here : http://fedorapeople.org/cgit/rgrunber/public_git/tycho-surefire-testbundlerunner.git/
I've tried this on all of linuxtools and get the same number of errors/failures as when I run tycho-surefire-plugin:test regularly on the sources. (3 failures in the SystemTap plugin) It could be possible to adapt this approach for all plugins building with Maven/Tycho that have test bundles.
Can use http://rgrunber.fedorapeople.org/eclipse-linuxtools-tests-2.0.0-3.fc20.noarch.rpm to test (should work on f19 as well).
Please commit it so it's built as part of every linuxtools srpm rebuild so we know we have it always and work on improving results after that.
eclipse-linuxtools-2.0.0-3 (http://koji.fedoraproject.org/koji/buildinfo?buildID=456625) now has the tests subpackage.
After some discussion, I think we've agreed that using the eclipse testing framework might be best for the time being. In the future perhaps we can make use of the functionality mentioned in Comment #1. I've worked on a small script to make it easier to run the test bundles through the testing framework by automatically generating sane test.xml/etc. and having things work. There's only one more case to handle after which I'll post the script somewhere and package it.
eclipse-linuxtools-2.0.0-3.fc19 has been submitted as an update for Fedora 19.
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing eclipse-linuxtools-2.0.0-3.fc19'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
This bug appears to have been reported against 'rawhide' during the Fedora 20 development cycle.
Changing version to '20'.
More information and reason for this action is here:
eclipse-linuxtools-2.0.0-3.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.