forked from pfqgauxfb/code-analysis
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
415 B
17 lines
415 B
#!/usr/bin/env python3
|
|
"""
|
|
Cppcheck Test Generator - 新的模块化版本
|
|
|
|
这是原始 cppcheck_to_tests.py 的模块化重构版本。
|
|
所有功能保持不变,但代码组织更加清晰和可维护。
|
|
|
|
使用方法:
|
|
python cppcheck_to_tests_new.py report.xml --out tests --max 5
|
|
"""
|
|
|
|
import sys
|
|
from cppcheck_test_generator.main import main
|
|
|
|
if __name__ == "__main__":
|
|
sys.exit(main(sys.argv[1:]))
|