This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Support cross-testing (version 3)
- From: Roland McGrath <roland at hack dot frob dot com>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Wed, 24 Oct 2012 14:19:03 -0700 (PDT)
- Subject: Re: Support cross-testing (version 3)
- References: <Pine.LNX.4.64.1210242035130.14661@digraph.polyomino.org.uk>
> # Whether to run test programs built for the library's host system.
> ifndef run-built-tests
> ifeq (yes,$(cross-compiling))
> +ifeq (,$(test-wrapper))
> run-built-tests = no
You can do:
ifeq (yes|,$(cross-compiling)|$(test-wrapper))
and avoid the repetition of the else case.
> diff --git a/scripts/cross-test-ssh.sh b/scripts/cross-test-ssh.sh
> new file mode 100755
> index 0000000..5dd3be4
> --- /dev/null
> +++ b/scripts/cross-test-ssh.sh
Let's put this in a separate commit. (I haven't reviewed the contents yet).
It can along with some install.texi additions to describe using it.
This looks OK with this elision and the clean-up above.
Thanks,
Roland