On Sat, Dec 15, 2018 at 11:04:58PM -0600, Jacob Bachmeyer wrote:

> This patch moves the processing for "runtest --version" to the first
> run through the command line arguments.  Since the presence of this
> option completely alters program flow, leading to an early exit
> rather than running tests, there is no reason to load the rest of
> the framework just to print version numbers from runtest.exp itself,
> the Expect extension, and the Tcl interpreter.

It also has the advantage of removing warnings such as:

WARNING: Couldn't find the global config file.

I see this speeds up runtest --version quite considerably, which is a
nice side effect. Thanks!

Ben

Attachment: signature.asc
Description: PGP signature

_______________________________________________
DejaGnu mailing list
DejaGnu@gnu.org
https://lists.gnu.org/mailman/listinfo/dejagnu

Reply via email to