File:  [NetBSD Developer Wiki] / wikisrc / projects / project / linuxtest.mdwn
Revision 1.2: download - view: text, annotated - select for diffs
Tue Mar 1 10:38:49 2022 UTC (9 months ago) by martin
Branches: MAIN
CVS tags: HEAD
Adapt open gsoc project suggestion to new gsoc rules, mark as 175/350h

[[!template id=project

title="Test Linux emulation (350h)"


[Stephen Borrill](



NetBSD has an extensive test suite that tests native kernel and userland
code. NetBSD can run Linux binaries under emulation (notably on x86,
but other platforms such as ARM have some support too). The Linux emulation
is not covered by the test suite. It should be possible to run an
appropriate subset of the tests when compiled as Linux binaries.

The project could be completed in a number of steps:

* Determine tests that make sense to run under Linux emulation (e.g. syscalls)
* Compile tests on Linux and then run on NetBSD
* Add new/altered tests for Linux-specific APIs or features
* Build cross-compilation environment to build Linux binaries on NetBSD, to make the test-suite self-hosting
* Fix Linux emulation for tests that fail
* Use tests to add Linux emulation for syscalls missing (e.g.timer_*)

It may also be instructive to look at the [Linux Test Project](

The project would initially be focussed on x86 (amd64 and i386).

[[!tag gsoc]]
[[!tag gsoc350h]]

CVSweb for NetBSD wikisrc <> software: FreeBSD-CVSweb