Comments (8)
@mickaelistria Where do I find documentation about -Dtest=... (e.g. values to use as ...?)
from tycho.
I think I found it: https://www.eclipse.org/tycho/sitedocs/tycho-surefire-plugin/test-mojo.html#test is that what you mean? Do you have an example I can use for testing?
from tycho.
For example, with rt.equinox.p2 repo, you can try mvn clean install -Pbuild-individual-bundles -Dtest=BaseChange
. The expected behavior is that all modules before the test build fine, and then test will only run BaseChange.
from tycho.
I'll take a look at it.
from tycho.
This is intentional but (from my point of view) badly documented. Surefire docu says for test that
This parameter overrides the parameter includes, excludes, and the TestNG parameter suiteXmlFiles.
but in fact it enables also a check that tests are run (most probably this is expected to be used not on the root level). Sad enough the error message
No tests were executed! (Set -DfailIfNoTests=false to ignore this error.)
is misleading as failIfNoTests is false by default.
Instead one should specify failIfNoSpecifiedTests, I have raised a bug for this.
So running mvn clean install -Pbuild-individual-bundles -Dtest=BaseChange -Dsurefire.failIfNoSpecifiedTests=false
should do the trick, if you think that is useful we could try to set this property (if not specified) to false by default in the project setup.
from tycho.
OK, I see this is consistent with maven-surefire-plugin.
It's a bit annoying as it basically breaks 1 useful workflow, but there are solutions (eg set test parameter in the pom.xml, combine install then verify...), so I think it's fine to just keep things as they are now in master. and don't try to support this former workflow.
from tycho.
Alright then I think this could be closed
from tycho.
I also added a warning note to the RELEASE_NOTES
from tycho.
Related Issues (20)
- Classpath attribute ignore_optional_problems should be supported
- Confusing warning or wrong use of system JDK in the compiler plugin?
- set-version fails to update MANIFEST.MF if CI-firendly versions are in use
- Improve output for missing requirements on dependencies
- Building fails because of `Inconsistent reactor project` HOT 2
- Broken links in the Eclipse/Github wiki HOT 1
- Unconsidered linked .classpath files and test source folders HOT 1
- [tycho-version-plugin] Since 4.0.5 non-matching version of child modules are forcefully overwritten HOT 3
- forceContextQualifier has been broken since Tycho 4.0.5
- sort order of root nodes in dependency-tree is unstable HOT 1
- Linked .classpath files: linked classpath entries paths not resolve against project base directory
- Parsing custom variables in linked project resources HOT 2
- [DS] Validation of transitive generated 'osgi.extender=osgi.component' requirement fails HOT 11
- support reuseFork option in tycho-surefire-plugin
- Unable to build eclipse application repository or site with patch features HOT 3
- The application packaged by Tycho can't start on MacOS 14.4 HOT 1
- Missing p2 dependencies in maven dependency:tree output HOT 1
- Goal `publish-features-and-bundles` inherits metadata available in reactor HOT 3
- Not possible to remove qualifier for release build from bundles/features and product when using CI friendly versions HOT 1
- Strange error with Tycho 4.0.8 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tycho.