-
Notifications
You must be signed in to change notification settings - Fork 11.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test-backend-ops : add option -p to filter by op params #12155
Conversation
this feature is very helpful for backend developers and it will make workflow more simple and easy, it might be more helpful to add some additional params in the "params regex", e.g.:
this feature will really helps backend developers a lot. hope it can be seen in the master branch soon then backend developers can modify codes/scripts accordingly. thanks too much! |
thanks for this very helpful feature can be seen in the master branch, I already updated my local dev branch accordingly: this feature seems simple but works very effective and very helpful for backend developers, thanks again!
|
Filters test cases by its params string, using a regex.
Mainly I expect this to be useful with
perf
to be able to run only the tests that you care about without having to modify the code. For example, you can usetest-backend-ops -o MUL_MAT -p "type_a=q4_0.*n=(1|512)" perf
to run onlyMUL_MAT
cases withtype_a=q4_0
andn=1|512
.