pynfs简单使用

本文档介绍了pynfs的安装步骤,包括通过yum安装python-devel,软连接python2到/usr/bin/python,以及使用setup.py进行编译安装。此外,详细阐述了如何使用pynfs,包括创建测试树、运行不同选项的示例,如--maketree, --rundeps等,以及如何查看测试结果。" 113722742,10538422,51单片机定时器初值计算与波特率设置,"['定时器', '单片机编程', '51系列', '波特率设置', '微控制器']

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

# pynfs使用教程 #
## 1.如何下载, 编译安装,配置和使用 ##
###安装 ###
    $yum install python-devel
    $ln -s /usr/bin/python2 /usr/bin/python
    $./setup.py build
###使用###
    如果从文件根目录使用必须先执行
    $./setup.py build_ext --inplace
    或者直接进入文件目录运行
    ./testserver.py SERVER:/PATH [options] [flags] [testcode]
    首先执行,
    ./testserver.py SERVER:/PATH  --maketree

##2参数解析
###option参数###
    all : run all standard tests (defaults to running none)
    --rundeps : run dependencies even if not specifically requested on command line
    --maketree : will (re)create the test tree. Ie it will create and populate
         the directories /PATH/tmp and /PATH/tree
    -o, --outfile : will save results into given file.
        results can then be examined using ./showresults.py FILE
    --showflags : will show a list of available flags
    -v : show test status as they are

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值