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

Configuration of directories for IO #27

Open
lucaparisi91 opened this issue Jan 9, 2024 · 5 comments
Open

Configuration of directories for IO #27

lucaparisi91 opened this issue Jan 9, 2024 · 5 comments

Comments

@lucaparisi91
Copy link

The paths of the filesystem are currently configured in each test doing I/O. At the moment, they all write to a shared z19 directory on each of the archer2 filesystem. That means the tests will break when run from another project account or when run on a machine with different file systems , such as on the TDS.

It would be good for the base directories to be configured at run time. One would add an option to the reframe command or modify a config file and all the tests would perform output within those directories.

@aturner-epcc
Copy link
Contributor

Maybe a better approach would be to have a test that tests which file systems and directories you can write to. The IO tests would then be dependent on this test completing successfully and take the settings from that successful test.

@aturner-epcc
Copy link
Contributor

@glumr
Copy link

glumr commented Jan 9, 2024

If it was my choice I would have a way to tell reframe which 'temporary' locations can be used for filesystem tests. This is something that it is very useful for anyone unfamiliar with a test suite to be aware of, not least because you would want to check no huge files or crazily fillied directories still exist on completion. Even getting this right across projects on the same machine is going to be a pain.

@JPRichings
Copy link
Contributor

@lucaparisi91 can this be closed now?

@lucaparisi91
Copy link
Author

@lucaparisi91 can this be closed now?

I do not think has been addressed yet.

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

No branches or pull requests

4 participants