<div dir="ltr">I do not have a project role (signed the contributor agreement just now) but I would like to submit a minor documentation bug because it should clearly state that gtest should be at the bash configure stage.<div><br></div><div>example:</div><div>$ bash configure --with-jtreg=/cygdrive/c/users/anil/OpenJDK/jtreg-7.4+1/jtreg --with-gtest=/cygdrive/c/users/anil/OpenJDK/googletest<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 10, 2024 at 11:24 AM Julian Waters <<a href="mailto:tanksherman27@gmail.com">tanksherman27@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">--with-gtest is only available during bash configure, so when you run<br>
bash configure<br>
<br>
best regards,<br>
Julian<br>
<br>
On Thu, Jul 11, 2024 at 12:00 AM Anil <<a href="mailto:1dropaflame@gmail.com" target="_blank">1dropaflame@gmail.com</a>> wrote:<br>
><br>
> Thank you for your reply.<br>
> [Julian] "Just point --with-gtest"<br>
> at what stage?<br>
> "bash configure", or "make images" or "make test-tier1"?<br>
><br>
> $ bash configure --with-jtreg=/cygdrive/c/users/anil/OpenJDK/jtreg-7.4+1/jtreg --with-gtest=/cygdrive/c/users/anil/OpenJDK/googletest<br>
><br>
><br>
><br>
> On Wed, Jul 10, 2024 at 10:05 AM Julian Waters <<a href="mailto:tanksherman27@gmail.com" target="_blank">tanksherman27@gmail.com</a>> wrote:<br>
>><br>
>> Hi Anil,<br>
>><br>
>> No, you do not need to compile gtest manually. Just point --with-gtest<br>
>> to the directory that contains the googlemock and googletest<br>
>> directories. I do not believe you can use a precompiled gtest for<br>
>> this. I'd also suggest having jtreg and googletest outside the JDK<br>
>> source directory<br>
>><br>
>> best regards,<br>
>> Julian<br>
</blockquote></div>