C/C++测试用例生成器YARPGEN使用

生成器源码:https://github.com/intel/yarpgen

Run on Linux:

  

mkdir build
cd build
cmake ..
make


cd scripts
生成并测试指定种子编号: python ./run_gen.py --seeds seeds.txt(seeds.txt内保存种子编号用空格或换行符分开)
生成特定编号测试用例:./yarpgen -s $seed_num -o $outpath
指定测试编译器:注释或去注释test_sets.txt文件内容

posted @ 2022-06-24 17:07  Cody_map  阅读(279)  评论(0编辑  收藏  举报