- Make sure python3 is installed.
- Make sure pip is installed.
- Install python deps:
pip install -r requirements.txt- Edit config.toml for your system
- Check for tool requirements by running:
./dmtest healthIn addition, many of the tests perform operations on a copy of linux git repository:
git clone https://github.com/torvalds/linux.gitThe kernel source code needs to be located in the dmtest-python directory. You can override this location
using the environment variable DMTEST_KERNEL_SOURCE, e.g. DMTEST_KERNEL_SOURCE=/home/someuser/linux
Many operations require the option --result-set <some arbitrary name> to function. This can be supplied by using
the environment variable DMTEST_RESULT_SET
export DMTEST_RESULT_SET=baselineexport DMTEST_RESULT_SET=baseline
./dmtest list --rx <regex>./dmtest run --rx <regex>./dmtest log