This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][AArch64][tests] Skip cpu-diagnostics tests when overriding -mcpu
- From: James Greenhalgh <james dot greenhalgh at arm dot com>
- To: Kyrill Tkachov <kyrylo dot tkachov at foss dot arm dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Marcus Shawcroft <marcus dot shawcroft at arm dot com>, Richard Earnshaw <Richard dot Earnshaw at arm dot com>, <nd at arm dot com>
- Date: Tue, 17 May 2016 11:03:10 +0100
- Subject: Re: [PATCH][AArch64][tests] Skip cpu-diagnostics tests when overriding -mcpu
- Authentication-results: sourceware.org; auth=none
- Nodisclaimer: True
- References: <5739F2E4 dot 5020207 at foss dot arm dot com>
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:23
On Mon, May 16, 2016 at 05:18:44PM +0100, Kyrill Tkachov wrote:
> Hi all,
>
> The gcc.target/aarch64/cpu-diagnostics* tests specify invalid -mcpu options and look for the expected error.
> However, if the user overrides the -mcpu option when testing the tests start FAILing because they don't get
> the expected bad -mcpu option.
>
> This patch skips those tests when that happens.
> That way when testing with /-mcpu=<something> the tests appear UNSUPPORTED rather than FAIL.
>
> Ok for trunk?
OK.
James