Skip to content

失败的case需要能自动生成一个可复现的单测文件,用户直接跑这个单测文件就可以复现问题#601

Merged
DanielSun11 merged 12 commits intoPFCCLab:mainfrom
tjujingzong:main
Jan 28, 2026
Merged

失败的case需要能自动生成一个可复现的单测文件,用户直接跑这个单测文件就可以复现问题#601
DanielSun11 merged 12 commits intoPFCCLab:mainfrom
tjujingzong:main

Conversation

@tjujingzong
Copy link
Contributor

目前在paddle_custom_device模式下实现了该功能
python engineV2.py --api_config_file="./test.txt" --paddle_custom_device True --generate_failed_tests=True

执行后会在failed_tests下生成文件
image

执行后可以直接在控制台看到这个单侧失败的原因
image

@paddle-bot
Copy link

paddle-bot bot commented Dec 25, 2025

Thanks for your contribution!

Copy link
Contributor

@YqGe585 YqGe585 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Collaborator

@wanghuancoder wanghuancoder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@DanielSun11 DanielSun11 merged commit 0d941e3 into PFCCLab:main Jan 28, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants