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

Fix hardcoded paths in testcases #109

Closed
wants to merge 1 commit into from

Conversation

quinox
Copy link
Contributor

@quinox quinox commented Jul 7, 2024

I share my tmpdir with Portage that runs testcases with its own user account. If there are hardcoded paths I run into permissions issues when I want to run the testcases myself.

I took the liberty to slightly change the FlashMQTempDir: I had built the same thing already before I saw this one existed and lifted some implementation details I liked from my code (all C++17 valid).

I share my tmpdir with Portage that runs testcases with its own user
account. If there are hardcoded paths I run into permissions issues when
I want to run the testcases.
@quinox quinox force-pushed the feat-dynamic-tmp branch from 8649c92 to 9c17575 Compare July 7, 2024 08:13
@halfgaar
Copy link
Owner

Merged in. For the main program, I avoid(ed) std::filesystem, because on the oldest platforms I build for, it requires linking an extra library. But, for the tests, it's fine. The new code passes the Github Workflows, so they are all recent enough.

@halfgaar halfgaar closed this Jul 10, 2024
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.

2 participants