Comments (5)
@laeubi This is a consequence of d9a5824 . This seems to highlight that the approach of tests in module but without having this module signed is not really usable together with signed bundles. Again, it seems to me that generating a test fragment, that would be signed, would work better.
The bundle in question is oddly configured though. i'll try to fix the bundle first.
from tycho.
So the new feature executes now tests that previously where ignored? I don't see how test fragment could hlep here as they do not apply here anyways.
from tycho.
So the new feature executes now tests that previously where ignored?
Yes, because the module was an eclipse-plugin
and had the test
attribute set in .classpath. But I think this is worth fixing this module first and I submitted https://git.eclipse.org/r/c/equinox/rt.equinox.p2/+/179816
I don't see how test fragment could hlep here as they do not apply here anyways.
It wouldn't help to fix this particular issue; it's just a reminder that tests that are not part of the same classloader as main artifact can fail in different ways because of classloading or class access restrictions; and that is something that works just fine with test-fragments. It's just IMO 1 more reason to have the story of the "tests in bundles" support to generate an explicit test fragment as it allows more reliable class access.
from tycho.
The it should either be a test-plugin or distinguish between Uinit and integration test with a proper filter. The "test-fragment" discussion really does not relate here and won't have changed anything.
Beside that I still don't see any benefit in supporting this, the whole classloader/acessrestriction thing simply has no meaning when defining a test class and only complicates the whole thing with no gain. In fact it even does not make sense for plain unit-test as there is no "OSGI-Runtime".
from tycho.
As the referenced bug is closed I think we can close this too, please reopen if you see any issue.
from tycho.
Related Issues (20)
- 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 HOT 1
- 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 4
- [sbom] BOM is calculated multiple times for the same unit HOT 3
- DumpStackTracesTimer fails to log during platform shutdown
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.