Support cross-testing (version 3)
Roland McGrath
roland@hack.frob.com
Wed Oct 24 21:19:00 GMT 2012
> # 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
More information about the Libc-alpha
mailing list