Create an image and a bundle from the build, with artifacts for test during the build.
Examples that need this are:
- Native tests for jtreg
- Unit tests written in native code
This is useful both for simplicity and speed in some cases, but in particular needed in the cases when the product is cross compiled. The bundles should be configuration specific, meaning both platform and debug level is relevant. It should be a bundle next to the other bundles, basically the same name with a tests addition. This should be possible to pass in.
The test bundles should be created when the product bundles are created, i.e. as part of the bundle target.