This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Use $(host-test-program-cmd) not $(test-program-cmd) for bug-setlocale1
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Mon, 14 Jan 2013 14:17:39 -0800
- Subject: Re: Use $(host-test-program-cmd) not $(test-program-cmd) for bug-setlocale1
- References: <Pine.LNX.4.64.1301142211310.19709@digraph.polyomino.org.uk>
On Mon, Jan 14, 2013 at 2:12 PM, Joseph S. Myers
<joseph@codesourcery.com> wrote:
> The recent change
>
> commit c34521ceac1ba7aee2afa06a883415605ba9e07c
> Author: H.J. Lu <hjl.tools@gmail.com>
> Date: Thu Jan 10 14:15:49 2013 -0800
>
> Support run bug-setlocale1 directly
>
> was incorrect for cross-testing because it used $(built-program-cmd)
> (now $(test-program-cmd) after another commit) for a testcase execing
> itself, when this needs $(host-built-program-cmd) (now
> $(host-test-program-cmd)) to avoid running a test wrapper incorrectly
> on the wrong system. I've committed this patch as obvious to fix how
> this test is run. Tested with cross to powerpc-linux-gnu.
>
> 2013-01-14 Joseph Myers <joseph@codesourcery.com>
>
> * Makefile (bug-setlocale1-ARGS): Use $(host-test-program-cmd),
> not $(test-program-cmd).
>
Thanks.
--
H.J.