This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [Patch] [binutils][testsuite] Allow multiple lines of "as" in testsuite.
- From: Alan Modra <amodra at gmail dot com>
- To: Matthew Malcomson <Matthew dot Malcomson at arm dot com>
- Cc: "binutils at sourceware dot org" <binutils at sourceware dot org>, nd <nd at arm dot com>
- Date: Wed, 13 Feb 2019 17:21:44 +1030
- Subject: Re: [Patch] [binutils][testsuite] Allow multiple lines of "as" in testsuite.
- References: <VI1PR0801MB2014E9F7826E67FDBCB173C3E0680@VI1PR0801MB2014.eurprd08.prod.outlook.com>
On Thu, Feb 07, 2019 at 06:20:19PM +0000, Matthew Malcomson wrote:
> This allows checking the command line parsing more easily than before by
> allowing many command line invokations from the same .d file.
It seems to me that you can do this by writing a wrapper that invokes
run_dump_test, once for each of the multiple "as" options, passing
them in extra_options.
Another solution is to use the "#dump:" and "#source:" options from a
stub .d file, eg. gas/testsuite/gas/i386/ilp32/x86-64-opts.d
Did you consider something along those lines instead?
--
Alan Modra
Australia Development Lab, IBM