cijoe:liblightnvm包
cijoe-pkg-liblightnvm的Python项目详细描述
安装
软件包通过pypi分发,运行以下to命令进行安装:
通过pip安装cijoe-pkg-liblightnvm系统范围:
sudo pip install cijoe-pkg-liblightnvm
或安装用户级别:
pip install --user cijoe-pkg-liblightnvm
注意
进行用户级安装时,请包含pip
二进制安装
定义中的路径。例如
PATH="$PATH:$HOME/.local/bin"
为cijoe创建环境定义
以交互方式运行cijoe并定义目标环境:
# Start cijoe cijoe # Use refence definitions as a template for defining your environment cat $CIJ_ENVS/refenv-u1604.sh > target_env.sh tail -n +2 $CIJ_ENVS/refenv-liblightnvm.sh >> target_env.sh # Open up your favorite editor and modify accordingly vim target_env.sh
为cijoe创建虚拟环境定义
以交互方式运行cijoe并定义目标环境:
# Start cijoe cijoe # Use refence definitions as a template for defining your environment cat $CIJ_ENVS/refenv-u1604.sh > target_env.sh # The following is the qemu variables to define tail -n +2 $CIJ_ENVS/qemu.sh >> target_env.sh # Lastly, the variables used by liblightnvm testcases tail -n +2 $CIJ_ENVS/refenv-liblightnvm.sh >> target_env.sh # Open up your favorite editor and modify accordingly vim target_env.sh
运行测试
启动测试运行程序并查看报告:
# Create directory to store results RESULTS=$(mktemp -d trun.XXXXXX -p /tmp)# Run using the testplan for Open-Channel 2.0 devices cij_runner \ $CIJ_TESTPLANS/OCSSD_S20_IOCTL.plan \ target_env.sh \ --output $RESULTS# Create test report cij_reporter $RESULTS# Inspect the test-report xdg-open $RESULTS/report.html
如果您发现错误或需要帮助,请随时提交Issue。如果你愿意 去GitHub page获取源代码 提交一个带有更改的Pull request。