#1061: Lists of test files duplicated.
---------------------+------------------------------------------------------
Reporter: coke | Owner: jkeenan
Type: cage | Status: assigned
Priority: minor | Milestone:
Component: testing | Version: trunk
Severity: medium | Keywords:
Lang: | Patch:
Platform: |
---------------------+------------------------------------------------------
Comment(by jkeenan):
Replying to [ticket:1061 coke]:
>
> This information shouldn't be duplicated in 2 locations. I recommend not
using the perl module to specify this via t/harness, but instead to
declare the lists solely in the Makefile and then combine them as
necessary if chunks of tests files are shared across test invocations.
>
I have an alternative recommendation. Let's provide access to the
definitions in Parrot::Harness::DefaultTests to the Makefile. To do that,
I have defined some assignments in ''config/init/defaults.pm''. Those get
added to the Parrot::Configure object and are therefore available for
assignment to ''make'' targets via ''config/gen/makefiles/root.in''.
I have renamed some variables and ''make'' targets. I have run ''make
fulltest'' and demonstrated that what were the `EXTRA_TEST_FILES` are
being run in that target.
mikehh: Can you verify that these work in ''make cover''?
Coke: Is this alternative approach acceptable to you?
Thank you very much.
kid51
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1061#comment:8>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets