Running Tests: do I need to build GTest separately?
Julian Waters
tanksherman27 at gmail.com
Wed Jul 10 16:24:13 UTC 2024
--with-gtest is only available during bash configure, so when you run
bash configure
best regards,
Julian
On Thu, Jul 11, 2024 at 12:00 AM Anil <1dropaflame at gmail.com> wrote:
>
> 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
More information about the build-dev
mailing list