Running Tests: do I need to build GTest separately?

Anil 1dropaflame at gmail.com
Wed Jul 10 16:00:34 UTC 2024


Thank you for your reply.
[Julian] "Just point --with-gtest"
at what stage?
"bash configure", or "make images" or "make test-tier1"?

  $ bash configure
--with-jtreg=/cygdrive/c/users/anil/OpenJDK/jtreg-7.4+1/jtreg
--with-gtest=/cygdrive/c/users/anil/OpenJDK/googletest



On Wed, Jul 10, 2024 at 10:05 AM Julian Waters <tanksherman27 at gmail.com>
wrote:

> Hi Anil,
>
> No, you do not need to compile gtest manually. Just point --with-gtest
> to the directory that contains the googlemock and googletest
> directories. I do not believe you can use a precompiled gtest for
> this. I'd also suggest having jtreg and googletest outside the JDK
> source directory
>
> best regards,
> Julian
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/build-dev/attachments/20240710/d8acbd46/attachment.htm>


More information about the build-dev mailing list