This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PING: Re: [PATCH 05/05] Add command-line option-parsing to jit testcases
- From: Mike Stump <mikestump at comcast dot net>
- To: David Malcolm <dmalcolm at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, jit at gcc dot gnu dot org, Jeff Law <law at redhat dot com>
- Date: Mon, 8 Dec 2014 21:27:56 -0800
- Subject: Re: PING: Re: [PATCH 05/05] Add command-line option-parsing to jit testcases
- Authentication-results: sourceware.org; auth=none
- References: <546CCC00 dot 209 at redhat dot com> <1416965664-15360-1-git-send-email-dmalcolm at redhat dot com> <1416965664-15360-6-git-send-email-dmalcolm at redhat dot com> <1418071451 dot 11824 dot 148 dot camel at surprise> <1B88C10F-930B-4C8B-B1E4-CCB8D1807972 at comcast dot net> <1418088549 dot 11824 dot 156 dot camel at surprise>
On Dec 8, 2014, at 5:29 PM, David Malcolm <dmalcolm@redhat.com> wrote:
> The only stuff I'm using getopt_long for is to make the binaries built
> by jit.exp be more flexible e.g. so that I can turn down the number of
> iterations they run when running under valgrind (and potentially other
> tweaks, so e.g. I can experiment with them under gdb without having to
> recompile them)
>
> Hence I think we can simply fall back to ignoring argv on hosts that
> don't support getopt_long; it should merely make the testsuite less
> flexible. Not sure how best to encode such a test though - check for it
> in jit.exp, or in configure, I suppose.
I’d just check in jit.exp. See target-supports.exp for ideas.