On Oct 16, 2013, at 10:27 AM, Alex Bennée <alex.ben...@linaro.org> wrote:
> > s...@freebsd.org writes: > >> This patch series adds a significant number of system calls and mips/arm >> support for bsd-user. In its current state it can emulate most >> FreeBSD mips/mips64 and arm target binaries on a x86 host in a simple >> chroot environment. (see https://wiki.freebsd.org/QemuUserModeHowTo for >> the details.) >> >> Besides adding a lot of shims and other support code this change >> restructures the code significantly to reduce the amount of C >> preprocessor conditionals for the various target and host arch/OS's. >> In general, the target cpu depedent code has been moved into into >> the various arch directories and the host OS dependent code (ie. >> FreeBSD, NetBSD, OpenBSD) has been moved into the OS directories as >> much as possible. > <snip> > > What has been the approach to test and verification of the shims? Is > there a BSD equivalent to the LTP or some other POSIX test suite to > exercise all these shim calls? I did write a lot unit tests which I didn't submit (yet) but my main test was cross building things like perl 5.14 and running its rather large test suite. I also cross built over 8,000 packages for FreeBSD/MIPS64 using Poudrière and qemu-mips64 (see http://people.freebsd.org/~bapt/pres/modern-package-management.pdf for more information). Regards, -stacey.