[rfc][icedtea-web] Makefile Reproducer Tests Patch
Jie Kang
jkang at redhat.com
Thu Sep 18 14:47:43 UTC 2014
----- Original Message -----
> On 09/17/2014 02:54 PM, Jie Kang wrote:
> >
> >
> > ----- Original Message -----
> >> On 09/16/2014 10:36 PM, Jie Kang wrote:
> >>> Hello,
> >>>
> >>>
> >>> This patch modifies the makefile and causes it to only process (compile,
> >>> copy, etc.) tests in the whitelist.
> >>>
> >>> This feature is greatly beneficial when running say
> >>>
> >>> 'make run-netx-dist-tests'
> >>>
> >>> which uses the whitelist to only run tests in the whitelist. Prior to
> >>> this
> >>> patch, though the tests ran were filtered by the whitelist, all tests
> >>> were
> >>> processed (compiled, resources moved, etc.). This wastes a large amount
> >>> of
> >>> time processing tests that aren't run.
> >>>
> >>> Thoughts?
> >>>
> >>>
> >>> Regards.
> >>>
> >>
> >> By doing so, the dependences of reproducer may not be compiled and
> >> installed.
> >> Is it what you wont?
> >
> > Hello,
> >
> >
> > If a reproducer depends on another reproducer than I think it should be up
> > to the dev to deal with that appropriately through documentation, etc. In
> > the best-case scenario, no test, including reproducers, should have any
> > dependency on another test.
> >
> > Maybe we can add this functionality as a separate option? Then test-runner
> > can choose to compile+install all tests, or compile+install only tests in
> > the whitelist. This might be a good compromise.
> >
> >
> I would say no.
>
> The author of whitelist modifications should be aware of his depnedencies.
> They are moreover easily
> grep-able from jnlp.
Hello,
Just some clarification and comments :)
I think this is also what I meant when I said dev; The person who changes whitelist (probably a developer, but I guess not always) should know his dependencies.
>
> So on one side I would be happy for this change. On second side I'm
> hesitating. Imagine test testing
> class not found, loading some remote depndence. Then it will not clear if it
> failed because of
> whitelist, or becasue of bug. And imagine you are fresh to itw and encounter
> this.
>
> The configure option seems to be good compromise. BY default all will be
> compiled+isntalled. On
> demand, only whitelist.
Okay. Sounds good, I will work on this.
>
> if you wont you may (read must in this case) add this configure option as
> another changeset.
I am a little confused here. When you say another changeset, do you mean I should push the current change and then add a new one on top for the 'configure option'? Or create new change and discard the current one?
>
> The only request for now is that "*" must keep working :)
* does work for this patch :)
Thanks for the review!!
>
>
> J.
>
--
Jie Kang
More information about the distro-pkg-dev
mailing list