Umockdev-0.14.1

Introduction to Umockdev

The Umockdev package contains a framework that allows a developer to mock devices for use in unit testing.

本パッケージは LFS-9.1 において正しくビルドでき動作することが確認されています。

Package Information

Umockdev Dependencies

Required

libgudev-233 and Vala-0.48.7

Optional

libgphoto2 (optional for tests)

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/umockdev

Installation of Umockdev

Install Umockdev by running the following commands:

./configure --prefix=/usr --disable-static &&
make

To test the results, issue: make check.

Now, as the root user:

make install

Command Explanations

--disable-static: このスイッチはスタティックライブラリをインストールしないようにします。

--enable-gtk-doc: GTK-Doc をインストール済で API ドキュメントを再構築する場合に指定します。

Contents

Installed Programs: umockdev-record, umockdev-run, umockdev-wrapper
Installed Libraries: libumockdev-preload.so.0, libumockdev.so
Installed Directories: /usr/include/umockdev-1.0, /usr/share/doc/umockdev

Short Descriptions

umockdev-record

records Linux devices and their ancestors from sysfs/udev or records ioctls for a device.

umockdev-run

runs a program under an umockdev testbed.

umockdev-wrapper

wraps a program around libumockdev-preload.so.0 through LD_PRELOAD.

libumockdev.so

provides API functions that allow mocking hardware devices for unit testing.

最終更新日: 2020-04-03 03:07:58 +0900