<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 30, 2021, 14:40 zack_on_the_speed_chanel <<a href="mailto:zack_on_the_speed_chanel@protonmail.ch">zack_on_the_speed_chanel@protonmail.ch</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have both of the options and i tried to built it with BUILD_TESTS and PSXTESTS and the test didn't build. Is there anything else that could alter how rtems is built?<br></blockquote></div></div><div dir="auto">Those options should have enabled it. Could you please paste the contents of your config.ini? (Please paste only the relevant ARCH/BSP section)</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
Sent with ProtonMail Secure Email.<br>
<br>
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐<br>
On Tuesday, March 30, 2021 3:29 PM, Gedare Bloom <<a href="mailto:gedare@rtems.org" target="_blank" rel="noreferrer">gedare@rtems.org</a>> wrote:<br>
<br>
> BUILD_TESTS and BUILD_PSXTESTS are two options that<br>
> if either is True it should build psxclock02.<br>
><br>
> On Tue, Mar 30, 2021 at 9:20 AM zack_on_the_speed_chanel<br>
> <a href="mailto:zack_on_the_speed_chanel@protonmail.ch" target="_blank" rel="noreferrer">zack_on_the_speed_chanel@protonmail.ch</a> wrote:<br>
><br>
> > I did build the leon3 bsp and I still don't see the psxtimer02 as an executable. Is there a way build a test from source? I have the sources for psxtest02. Also i'm thinking that it could be due to the fact that i don't have posix tests enabled. Is there a way<br>
> > that to enable posix?<br>
> > Thanks<br>
> > Zack<br>
> > Sent with ProtonMail Secure Email.<br>
> > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐<br>
> > On Monday, March 29, 2021 8:11 PM, zack_on_the_speed_chanel <a href="mailto:zack_on_the_speed_chanel@protonmail.ch" target="_blank" rel="noreferrer">zack_on_the_speed_chanel@protonmail.ch</a> wrote:<br>
> ><br>
> > > Sorry that assumption was very native of me that i didn't have a working baseline. Joel said that the erc32 was similar to the leon bsp<br>
> > > "<br>
> > > The ERC32 what's the first space hardened sparc processor. The leon3 is a<br>
> > > later processor in the same family. Both use the same build of GCC and are<br>
> > > just different bsps. In fact both run on the same sis simulator. "<br>
> > > I also though that the bsps were the same and I can work on the issue with only the erc32 BSP. I have one more question: when i run the hello world test. All the test files are within one specific directory and I don't see the executables for specific bsps that's why i thought all tests would be built (there would not be any specific considerations for bsps) .<br>
> > > Sent with ProtonMail Secure Email.<br>
> > > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐<br>
> > > On Monday, March 29, 2021 2:45 PM, Gedare Bloom <a href="mailto:gedare@rtems.org" target="_blank" rel="noreferrer">gedare@rtems.org</a> wrote:<br>
> > ><br>
> > > > On Sun, Mar 28, 2021 at 1:26 PM zack_on_the_speed_chanel<br>
> > > > <a href="mailto:zack_on_the_speed_chanel@protonmail.ch" target="_blank" rel="noreferrer">zack_on_the_speed_chanel@protonmail.ch</a> wrote:<br>
> > > ><br>
> > > > > Hello all,<br>
> > > > > I'm updating on what' i've found out with the issue (forgot to reply all) . Joel recommended me check the coverage for the leon BSP( to check if it's supported) and i found that the branch with CLOCK_MONOTONIC was not reached I think now that it's supported (because the annotated assembly is in the sparc instruction set). I also found out that the test would be similar to Psxclock02 and it runs the same tests on a different clock. Then I tried to build the psxclock02 test , change the create_clock to have the clock_monotonic argument and i didn't see the executable or any change in the ./waf build. Then I was suggested that you have to enable all tests some how? How do i enable all tests?<br>
> > > ><br>
> > > > Do you use something like: ./waf bsp_defaults ---rtems-bsp=leon3 > config.ini<br>
> > > > Then, take a look, BUILD_TESTS and BUILD_PSXTESTS are two options that<br>
> > > > if either is True it should build psxclock02.<br>
> > > > When you write code, you should first make sure you can build the code<br>
> > > > as it exists if it is supposed to work, and run it to see that it<br>
> > > > works. Then you should make changes from a working baseline. Otherwise<br>
> > > > when you get a problem, how do you know if the problem is your<br>
> > > > problem, or it already existed?<br>
> > > ><br>
> > > > > Thanks<br>
> > > > > Zack<br>
> > > > > devel mailing list<br>
> > > > > <a href="mailto:devel@rtems.org" target="_blank" rel="noreferrer">devel@rtems.org</a><br>
> > > > > <a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
<br>
<br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank" rel="noreferrer">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a></blockquote></div></div></div>