Umockdev-0.15.4
Umockdev のインストール
以下のコマンドを実行して Umockdev をビルドします。
mkdir build &&
cd build &&
meson --prefix=/usr .. &&
ninja
To test the results, issue: PATH=$PATH:/sbin:/usr/sbin ninja
test. The addition to PATH
is needed if you use the starting scripts in
Bash シェルの初期起動ファイル, because some tests need
to run udevadm. One
test needs to be run in an X session.
root
ユーザーになって以下を実行します。
ninja install
コマンド説明
-Dgtk_doc=true
: Use this switch if you
have GTK-Doc-1.33.2 installed and wish to rebuild
and install the API documentation.
パッケージ構成
インストールプログラム: umockdev-record, umockdev-run,
umockdev-wrapper
インストールライブラリ: libumockdev-preload.so.0, libumockdev.so
インストールディレクトリ: /usr/include/umockdev-1.0
概略説明
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
|
最終更新日: 2021-02-20 15:13:48 +0900