Re: PATCH: add "testsuite file" API call

Ben Elliston <[email protected]>
Newsgroups gmane.comp.sysutils.dejagnu.general
Message-ID <[email protected]>
On Fri, Dec 07, 2018 at 11:30:04PM -0600, Jacob Bachmeyer wrote:

> 	* doc/dejagnu.texi (testsuite procedure): Document multiplex entry
> 	point and "testsuite file" command.
> 	* lib/framework.exp (testsuite): New proc for multiplex commands.
> 	(testsuite_file): New proc implementing "testsuite file".
> 	* runtest.exp: Expect to find testsuite in ${srcdir}/testsuite,
> 	but also search $srcdir itself.
> 	Add variable "testsuitedir" for testsuite root directory.
> 	Add internal global variables "testbuilddir" and "testdir" for use
> 	by "testsuite file".
> 	Ensure that $testsuitedir, $testbuilddir, and $objdir also avoid
> 	duplicated path delimiters.
> 	Add warning if no tests are found and fallback method of searching
> 	$srcdir is used.
> 	(load_lib): Add explicit search for testsuite-local libraries.
> 	(load_tool_init): Use $testsuitedir in search.
> 	(load_config): Use $testsuitedir instead of $srcdir.
> 	(load_tool_target_config): Likewise.
> 	* testsuite/runtest.all/testsuite_file.test: New file.

Applied, thanks a lot!  I also added an entry to NEWS for the new
user-visible 'testsuite' procedure.

Cheers,
Ben

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

iQIzBAEBCAAdFiEEFS8+rdM1/2KWERKFZ9rcPj90NkkFAlwLZuAACgkQZ9rcPj90
NkkB7g//apKUdK4Ci4wjMMtqwzVOPhJmKsG1Za9v93r8i4hyx0Le8CE9Pa6NLh6F
IRvQ66KElGajI3ZkMKW953M3Sg/5a8F32sQOB0m0aArKPMu9HXNS8OadGY5+2oIj
s85KC9RyMIR75U3q0MR+gw1kTrohxYwtC2LDh8utR8gr+VUrkWTop0F+i79yFGh4
w64dcqvsMiZ2t1gM1vLP8p/4NUpdtTQGbeyvhAQ3yjI8ivt+DjGgsQvJyROiKA32
JqY/bVhPsLX7uo6l+NPu0f8v/iDQn6i7phZgWeMj9/+dimiapYyOU5Tmrgb0YI66
0DqdpSwBmgNhU0t7VnS3B41pOGEojbCQ0AU+mecJGwYBPrv5qv2g7VGs/WeK9K/U
oF1K1Ga9SLf34Comy8d+y45+9K7MTXkWSReHksIhUsgnFRIzipB53Urj96fKw7Ti
plkUC8su+QRK2nr5E5rShVKlJeKZDJ5HuUbaS/fhe5dAlwSUFwuJ3TS7cWXajCTw
xOq92F7UtSsz8hrxTOYS/UJ1FmSxJZQOxq93orkF2Q7pod/uCHnGZviKEH04xN9t
LcfKC3StlOLoIozULbBFLwsTcYEfLEaUP8lglZIkSpBHiAyiQI8/V1JRBkdZRaVm
z5Z6bwMl2E9vNpT2IZCeRzni87+xAnHgSxJRDX/1I71UgygcdoY=
=y0nq
-----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.