diff options
author | Andy Zhou <azhou@nicira.com> | 2015-01-13 15:21:36 -0800 |
---|---|---|
committer | Andy Zhou <azhou@nicira.com> | 2015-01-16 13:19:58 -0800 |
commit | 69c2bdfef91d7b4c14c189a9fc613e25b10437ab (patch) | |
tree | 72d42f1734aecfdf56a771a8cc6553d26d444163 /Vagrantfile | |
parent | 02e6f2f7005d8dd3932bb03dea922a8d850f3f72 (diff) | |
download | openvswitch-69c2bdfef91d7b4c14c189a9fc613e25b10437ab.tar.gz |
autotest: add autotest framework for adding kernel module unit tests
This patch adds a basic infrastructure for developing and running
kernel module unit tests. Currently OVS contains thousands
of useful unit tests for user space programs. It is desirable to
have corresponding kernel module unit tests.
This commit adds basic framework for adding kernel module tests. Like
user space unit tests, Kmod tests are based autotest framework, thus
are similar to existing unit tests. For references, kmod-traffic.at
contains a simple ping test.
"make check-kmod" can be invoked on any build machine as a root
user. Since kernel testing can potentially crash the kernel, it is
not recommended to run those tests directly on a development machine,
but rather a testing VM, such as ones can be launched by vagrant.
Signed-off-by: Andy Zhou <azhou@nicira.com>
Acked-by: Thomas Graf <tgraf@noironetworks.com>
Diffstat (limited to 'Vagrantfile')
0 files changed, 0 insertions, 0 deletions