<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, May 8, 2020, 4:54 AM Chris Johns <<a href="mailto:chrisj@rtems.org">chrisj@rtems.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 8/5/20 4:50 am, Vijay Kumar Banerjee wrote:<br>
> On Tue, May 5, 2020 at 4:13 PM Chris Johns <<a href="mailto:chrisj@rtems.org" target="_blank" rel="noreferrer">chrisj@rtems.org</a>> wrote:<br>
> Hi Chris,<br>
> <br>
> I added support in rtems_waf to test the uninstall function, following<br>
> the approach that you suggested. I'm attaching the patch here, please<br>
> have a look.<br>
<br>
This looks fine. We can work on this once we have branched.</blockquote></div></div><div dir="auto"><br></div><div dir="auto">Thanks for reviewing it. I'll send the patches after the release to avoid confusion.</div><div dir="auto"><br></div><div dir="auto">Thanks,</div><div dir="auto">Vijay</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"></blockquote></div></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>
Thanks<br>
Chris<br>
<br>
> <br>
> I am using it in libbsd by calling it from wscript like this:<br>
> ```<br>
> diff --git a/wscript b/wscript<br>
> index 0979644a..74fc1f48 100644<br>
> --- a/wscript<br>
> +++ b/wscript<br>
> @@ -226,6 +226,9 @@ def configure(conf):<br>
>       update_builders(conf, conf.env.BUILDSET)<br>
>       rtems.configure(conf, bsp_configure)<br>
> <br>
> +def test(bld):<br>
> +    rtems.test_uninstall(bld)<br>
> +<br>
>   def build(bld):<br>
>       rtems.build(bld)<br>
>       builders[bld.libbsd_buildset_name].build(bld)<br>
> ```<br>
> If this approach looks alright to you, I'll send a v2 of the patchset<br>
> for libbsd and rtems_waf for review.<br>
> <br>
> Thanks,<br>
> Vijay<br>
>><br>
>> Chris<br>
</blockquote></div></div></div>