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

Don't clear results buffer between loops #736

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kotarou3
Copy link

When tests or suites are looped with TOTAL_LOOP_COUNT or TOTAL_LOOP_TIME, each loop would produce an independent result entry with identical identifiers (descriptions). However, the results viewer and exporters silently ignore any results with duplicate identifiers. This change combines the results from all loops into a single result entry to avoid the issue.

Note: This change may cause data loss in existing result files if they have multiple results with the same identifiers. But since those multiple results were never "visible" to users in the first place, it's not a practical issue.

Fixes #735

When tests or suites are looped with TOTAL_LOOP_COUNT or TOTAL_LOOP_TIME, each loop would produce an independent result entry with identical identifiers (descriptions).
However, the results viewer and exporters silently ignore any results with duplicate identifiers.
This change combines the results from all loops into a single result entry to avoid the issue.

Note: This change may cause data loss in existing result files if they have multiple results with the same identifiers.
But since those multiple results were never "visible" to users in the first place, it's not a practical issue.

Fixes phoronix-test-suite#735
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.

Loop runs only shows last result
1 participant