Re: dejagnu(1) multi-launcher and dejagnu-report-card

Ben Elliston <[email protected]>
Newsgroups gmane.comp.sysutils.dejagnu.general
Message-ID <20181107030645.GA20467@bapbop>
Hi Jacob

On Tue, Nov 06, 2018 at 06:59:34PM -0600, Jacob Bachmeyer wrote:

> First, add a new dejagnu(1) multi-purpose launcher, in a style
> similar to git(1).  This allows to select at run-time between
> multiple versions of auxiliary tools, depending on what is available
> on the system.  This leads to a slightly more complex "structure"
> for DejaGnu, with an "inner core" (runtest(1) and its components)
> and an "outer core" (the dejagnu(1) subcommands) that is also
> installed. One of the reasons for this is that I would like the
> DejaGnu testsuite itself to use the dejagnu-report-card tool, and
> possibly for a future version of Automake to use it if the DEJATOOL
> variable indicates to test multiple tools.

I don't have a problem with this. runtest, of course, needs to remain
for backward compatibility, but could be invoked using 'dejagnu
runtest' (or 'dejagnu run').

> Second, the first subcommand to implement would be "dejagnu
> report-card", for which I already have shell and Tcl
> implementations.  This would then be usable as part of the DejaGnu
> testsuite to provide a nice summary at the end of a testsuite run.

There is a pretty high maintenance overhead of maintaining multiple
implementations. Why not just decide, conservatively, what the right
language is for the job, and we'll just make it a prerequisite to be
checked by 'configure'? If the tool (eg, AWK) is not available, we can
just abort the configure script, or not install the subcommand script.

> Future plans include some kind of "canned test" feature to help with
> creating new testsuites and adding tools. Something like "dejagnu
> create testsuite" and "dejagnu add tool" would be nice.

Now that I like.

Cheers, Ben

_______________________________________________
DejaGnu mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/dejagnu
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEFS8+rdM1/2KWERKFZ9rcPj90NkkFAlviVsMACgkQZ9rcPj90
NknHGg/8Cm1uDYrhBLrjl71TW7FW3mDhisw95iJ7U5Lli7A3sh2O7TZ7sCyETtLO
yoBSpIOBI7G27nCyiSm3lPYeOtM5roctmLnXl0Wfe/GjUKqEDSu/kakzKCK534jl
4mMTO6agDsu9E+Y79/s+9HeP2VzxfI8Q0I6zSXCQK1C/TSF7ahxH1iz/dwtcwTYX
rd3sxGzgpe03MAwgoZok70JVORWfTyRbBKYRh88clVr27xVEO82LDRXI8ukIdukX
zeZjS1JJGjAEEzHlZCr5pDqkhQ81V0sjdpG92kbojjyp1dPQCKxeUZgk1H0fvCKJ
9XzbIUwZUS0ICTAvt7rJ7ncQL3qBu7dZ5DB/wHf64TbnxMRRy4XgBma5AllTEymj
EF9xXM1uoxx6W6rDWUoFWRSA0t9ygdM9AOOn02YhxtjBwOX5ZKsFOzZxl2vzNZZh
+f4LOKSbRITfrqmiNRTK9Edji4XTitTRvCdbJ8jhcQ3hRZfvHbtT3vwY7zn0iakj
Cz937Y7/a2k3F17VtzmMtQq5Pc6PAyE20Jbu6512biymm7tZYU+2i5VlJAX3sQRy
n2qVqfIDb9Dk86c1sj7V1G8dhJjDTXWo74xBdxpM8Qz+RL2lKsE6cDOztHBI8y6l
jSz8Y7lC0T++qWZgEY8BXRJYEhOyWYZpAoAFDo5aRczsFr+nCEY=
=pV+1
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.