Skip to content

[bugfix] Do not hard code the value type of a RegressionTestDict#3660

Open
vkarak wants to merge 2 commits intoreframe-hpc:developfrom
vkarak:bugfix/regressiontestdict-values
Open

[bugfix] Do not hard code the value type of a RegressionTestDict#3660
vkarak wants to merge 2 commits intoreframe-hpc:developfrom
vkarak:bugfix/regressiontestdict-values

Conversation

@vkarak
Copy link
Copy Markdown
Contributor

@vkarak vkarak commented Apr 27, 2026

Closes #3659.

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.88%. Comparing base (fcbd6df) to head (e45d43d).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #3660   +/-   ##
========================================
  Coverage    91.87%   91.88%           
========================================
  Files           62       62           
  Lines        13756    13758    +2     
========================================
+ Hits         12638    12641    +3     
+ Misses        1118     1117    -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Contributor

@victorusu victorusu left a comment

Choose a reason for hiding this comment

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

lgtm

@github-project-automation github-project-automation Bot moved this from Todo to In Progress in ReFrame Backlog Apr 28, 2026
@vkarak vkarak force-pushed the bugfix/regressiontestdict-values branch from 4cecef9 to 5faff61 Compare April 29, 2026 08:00
@vkarak vkarak marked this pull request as draft April 29, 2026 11:55
@vkarak
Copy link
Copy Markdown
Contributor Author

vkarak commented Apr 29, 2026

Converting to draft as I'm getting another error, which I need to reproduce and investigate.

@vkarak vkarak marked this pull request as ready for review April 29, 2026 21:59
@vkarak
Copy link
Copy Markdown
Contributor Author

vkarak commented Apr 29, 2026

Converting to draft as I'm getting another error, which I need to reproduce and investigate.

It was a very weird error this one: storing the value type inside the _RegressionTestDict was preventing the test from being copied for generating its test cases during loading. This was also the reason that the unit tests didn't catch it, since we created the tests inside the unit tests, outside the normal loading process.

I've added a unit test to reproduce the problem and fixed the error.

vkarak and others added 2 commits April 30, 2026 00:01
Signed-off-by: Vasileios Karakasis <vkarak@gmail.com>
Storing the value type prevents the test from being copied when creating
the test case combinations.

Added unit test to reproduce the problem.

Signed-off-by: Vasileios Karakasis <vkarakasis@nvidia.com>
@vkarak vkarak force-pushed the bugfix/regressiontestdict-values branch from 8ac3ab4 to e45d43d Compare April 29, 2026 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

RegressionTestDict type requires values to be a reference tuple

2 participants