Skip to content
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

tests: Changing test case statistics conditions. #1771

Merged
merged 1 commit into from Jul 30, 2023

Conversation

coyotek
Copy link
Contributor

@coyotek coyotek commented Jul 23, 2023

tests: Change test result statistics condition

As it comes with more combinations of compiler and flags,
it's better to update the condition to print the test stats.
Specifically we want to print it when there are more than
300 test runs or more than 10 kind of tests were run.

Fixed: #1770

Signed-off-by: Jungmin Kim jungmin82@gmail.com

@MichelleJin12
Copy link
Contributor

Hello, @coyotek Thank you for your contribution :D

According to https://github.com/namhyung/uftrace/pull/1771/checks?check_run_id=15268583617,
DCO failed because the signed name and committer name did not match.

You can check git config and edit user.name

git config --list # check git config
git config --global user.name <name> # edit user.name

amend and push

git commit --amend -s
git push --force

Copy link
Owner

@namhyung namhyung left a comment

Choose a reason for hiding this comment

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

Please remove description of the issue (1770) as it's outdated. You'd better describe the change in the commit message directly something like:

tests: Change test result statistics condition

As it comes with more combinations of compiler and flags,
it's better to update the condition to print the test stats.
Specifically we want to print it when there are more than
100 test runs or more than 10 kind of tests were run.

Fixed: #1770 

Signed-off-by: ...

tests/runtest.py Outdated Show resolved Hide resolved
As it comes with more combinations of compiler and flags,
it's better to update the condition to print the test stats.
Specifically we want to print it when there are more than
300 test runs or more than 10 kind of tests were run.

Fixed: namhyung#1770

Signed-off-by: Jungmin Kim <jungmin82@gmail.com>
Copy link
Collaborator

@honggyukim honggyukim left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for the work!

@namhyung namhyung merged commit 9a85495 into namhyung:master Jul 30, 2023
3 checks 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.

tests: Changing test case statistics conditions.
4 participants