Re-using shared object in another unrelated test?
thomas.stuefe at gmail.com
Thu Sep 7 09:33:58 UTC 2017
On Thu, Sep 7, 2017 at 10:29 AM, David Holmes <david.holmes at oracle.com>
> Hi Thomas,
> On 7/09/2017 6:23 PM, Thomas Stüfe wrote:
>> Hi all,
>> I'd am writing a jtreg test which loads a native shared library. I do not
>> actually need to do anything with the shared library, so loading and
>> unloading again. I do not plan on resolving any exports, it just needs to
>> be there and be valid, on all platforms.
>> There are a number of shared objects which would be a fit, e.g.
>> JniVersion. Would it be okay to use this in a jtreg test or would this be
>> considered bad form?
> Given the convention used to get the native parts of jtreg tests built
> (when building test-image) I would think it simpler, and cleaner to just
> define a trivial .c file and build the library from it.
Thanks, David, I will do that.
> Thank you, Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the jtreg-use