reframe icon indicating copy to clipboard operation
reframe copied to clipboard

Specify run-report path from within a test

Open tanguypierre opened this issue 6 months ago • 2 comments

Hi,

I would like to specify the run-report path from within a test. Is this even possible?

I've tried to access and modify the loaded configuration with commands like reframe.core.settings.site_configuration['general'], rt.runtime().site_config['general'], or exporting the RFM_REPORT_FILE environment variable from within the test. These attempts were quite logically unsuccessful.

As I am currently writing tests for a scientific application and want to create a database for my results, it would be helpful for storing the results at the right place without any postprocessing. I pass some paths to Reframe as variables for launching my application. It would be nice if I could name the run-report after these paths. Using the --report-file command-line option won’t fit my case as the desired name will be built depending on some results.

Maybe adding a run-report-prefix in the site_configuration, which could be extended, might also be an idea.

Thanks for your work

tanguypierre avatar Jul 31 '24 09:07 tanguypierre