对拍的bat文件

对拍的bat文件

loop//循环
maker.exe//运行 数据生成器
a.exe//运行 正确程序
b.exe//运行 待检测程序
fc o1.txt o2.txt//比较 两个程序的输出结果
if errorlevel 1 goto end//如果 有错误(两个输出文件不一样) 就跳到end

goto loop//跳到loop
:end

posted @ 2017-07-13 22:53  bsw  阅读(508)  评论(0)    收藏  举报