sfqj82
驱动小牛
驱动小牛
  • 注册日期2004-12-30
  • 最后登录2011-09-03
  • 粉丝0
  • 关注0
  • 积分80分
  • 威望15点
  • 贡献值0点
  • 好评度2点
  • 原创分0分
  • 专家分0分
阅读:1831回复:5

CETK能否实现本地测试??

楼主#
更多 发布于:2005-07-25 11:11
  再发一问:CETK如何实现本地测试??,就是不与Platform连接时,只要自己Clientside的本地Image就能直接测试,这只是现在初步假定,也不知道能否能实现。
互相交流~共同进步!
sfqj82
驱动小牛
驱动小牛
  • 注册日期2004-12-30
  • 最后登录2011-09-03
  • 粉丝0
  • 关注0
  • 积分80分
  • 威望15点
  • 贡献值0点
  • 好评度2点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2005-07-26 14:28
研究了一下,可以用命令行测试,命令行分三种情况:
Target device  connected to a network and connected to a Platform
Target device  connected to a network but not connected to a Platform
Target device  not connected to a network and not connected to a Platform
第二种实际是作为一三两种的一种中间过渡情况。
第一种比较简单,已经搞定。第三种中我用的是32M的CF卡,请问怎么指定目标文件以及测试过程中如何知道生成的测试结果*.txt文件等,,,,
初学cetk,问题可能问得不是很专业,请多多指教~~
互相交流~共同进步!
sfqj82
驱动小牛
驱动小牛
  • 注册日期2004-12-30
  • 最后登录2011-09-03
  • 粉丝0
  • 关注0
  • 积分80分
  • 威望15点
  • 贡献值0点
  • 好评度2点
  • 原创分0分
  • 专家分0分
板凳#
发布于:2005-07-26 14:39
补充一下,命令行第三种方法可以实现本地测试,就是不与Platform连接时,Target device 就能直接测试,步骤如下:
Copy all files from <Platform Builder installation path>\Cepb\Wcetk\Ddtk\<CPU> to the root directory on the target device.
Copy <Platform Builder installation path>\Cepb\Wcetk\Results.xslt to the same location as the Result.xml file.
On the target device, choose Start, choose Run, and then type tux -o -f XXX.dll to run the Modular Stress Test.
The initialization file must exist in the root directory of the target device, unless you explicitly specify another location for the file in the command line. The harness creates a results file in the root directory of the target device. It is recommended that you create the results file on a non-volatile storage medium such as a flash memory card to avoid data loss if the target device crashes. Do not create a history file on the target device because the history file steadily increases in size over the duration of the testing run.

现在困惑的是,我用的是32M的CF卡,空间不足以copy上述的所以文件,只好有选择性的copy,但又不知道到底要Copy哪些??慢慢摸索ing~~~
再者,如果如何指定输出的测试结果呢??如果在目标机上生成,那查看结果不是很麻烦~~~感觉越来越来槽糕了~~望大家帮定一下``~
互相交流~共同进步!
wxl_50685330
论坛版主
论坛版主
  • 注册日期2002-11-19
  • 最后登录2018-09-25
  • 粉丝0
  • 关注0
  • 积分1000分
  • 威望521点
  • 贡献值0点
  • 好评度419点
  • 原创分0分
  • 专家分0分
地板#
发布于:2005-07-26 15:37
^_^那你干吗要本地测呢,可以联机为什么非要本地,已经本地了就将就嘛,测完了拷出来看三:)
根据地的兄弟们,团结就是力量
sfqj82
驱动小牛
驱动小牛
  • 注册日期2004-12-30
  • 最后登录2011-09-03
  • 粉丝0
  • 关注0
  • 积分80分
  • 威望15点
  • 贡献值0点
  • 好评度2点
  • 原创分0分
  • 专家分0分
地下室#
发布于:2005-07-26 15:43
因为联机时测试OEMStress等,需要十几小时,有几次通宵测试到一半由于网络不稳定断开连接,郁闷啊~~
所以打算用本地测试,不用联主机。
刚刚又有新进展,已经可以实现Target device not connected to a network and not connected to a Platform了,如上所述,现在换了一个64M的CF卡了,Copy all files from <Platform Builder installation path>\Cepb\Wcetk\Ddtk\<CPU> to the root directory on the target device. 之后就能直接在Target device 上测试,然后如斑竹所说的,测完了拷出来看三:)~~
互相交流~共同进步!
wxl_50685330
论坛版主
论坛版主
  • 注册日期2002-11-19
  • 最后登录2018-09-25
  • 粉丝0
  • 关注0
  • 积分1000分
  • 威望521点
  • 贡献值0点
  • 好评度419点
  • 原创分0分
  • 专家分0分
5楼#
发布于:2005-07-26 15:51
:)
根据地的兄弟们,团结就是力量
游客

返回顶部