Re: PATCH: move processing of -V|--version to earlier point
Ben Elliston <[email protected]>
| Newsgroups | gmane.comp.sysutils.dejagnu.general |
|---|---|
| Message-ID | <20181216052117.GA18422@bapbop> |
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 _______________________________________________ DejaGnu mailing list [email protected] https://lists.gnu.org/mailman/listinfo/dejagnu
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEFS8+rdM1/2KWERKFZ9rcPj90NkkFAlwV4MsACgkQZ9rcPj90 Nkm9Nw/+Iv78O/2LIlyGk1zsV99UUrdiwfrsWKlQZWEmzIppqYKfYIKoYd1iP2vq R6cND5lUbJcl4xV/+jaAnO9k8ljrrLld9C8SgAki/YJdX1aUKBLLCQlRaCYd75Uc 1/9U5Zw3nvQNMd5Yt4p677d4jbOeD6ZKBZMHjnYcc4NAQL2xnatFFQNjZxnE7kxK 6htYHnSdj/jrZWiUvgyhTNtQ5CaZSxiXTfWWCa8TIHEwRvS/eUwh6O+66mV/GSqw qZ1uRFF/icO5Xzi0mWdt9CTwWQ38pVqiUVa2aysnAcfsoY9uJqxm5pq8to92OVU/ poLOM6PHPNty4f8yUWTO6tECJeVatP1lcmpb7XJtxU641O8wYssa9ifDqffXC+F4 T7eDJ2iF9cZV3u91zHD6zEJtB1KnJ7HYQfUsLdWhIQ8c71Hp9SdIomg/ecGL3on3 LITiIbtkntYEMuXJiJEYdvLQGL5FvlWinMKhP7S84Ry850K/Inggd01zPRqnSJkB Wxx9YhvGEM/lOhxHOfV53GXFlwELSEHgXr7Kwsw6Cv1FYxRCVk8CD+51uzWDQRyb I+QIHheUclK2xm3SVUX44vjC1yhmQPJly4d2vrWdNvsjXaggJ0c35i2NLYAqbzwL EXjIPg8I/Uq7xAdFHvgCu6NA0xQFXLGigJod4lwwzgg0omu60Rs= =FggD -----END PGP SIGNATURE-----