この記事はNetBSD Advent Calendar 2015の20日目として書かれました。 はじめに NetBSDにはATFというテストフレームワークが用意されており、ユーザランドプログラムやカーネルのためのテストが定期的に実行されされ、コード変更によってリグレッションを起こしていないかチェックされています。 またNetBSDにはrump kernelという仕組みがあり、ユーザプロセスとしてNetBSDカーネルを実行できます。ATFテストにはrump kernelを使ったテストがたくさんあります。 本記事では、特にNetBSDカーネルのネットワーク機能のATFテストをrump kernelを使って書く方法について説明します。 ATFテストの書き方 基本的なATFテストの書き方はCreating atf-based tests for NetBSD srcに書いてあります。ATFテストは
There are numerous good tools which do an excellent job of testing kernel features and help to catch bugs. The more frequently they are run as part of the regular development cycle, the more bugs they expose before the bugs are shipped to be discovered by end users. However, prior to being able to execute kernel tests configuration is required. Examples of configuration steps include mounting the
Anita, an Automated NetBSD Installation and Test Application Anita is a tool for automated testing of the NetBSD operating system. Using anita, you can download a NetBSD distribution and install it in a virtual machine in a fully automated fashion. It's fun to watch, and it has helped find a large number of bugs in NetBSD, as well as several bugs in qemu and other emulators. The virtual machine an
In a software project as large as NetBSD the interactions between different software components are not always immediately obvious to even the most skilled programmers. Tests help ensure that the system functions according to the desired criteria. Periodic automated runs of these tests with results visible on the web ensures both that tests are run in a regular fashion and that the results are ava
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く