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

Add check for PERL_FOUND around actual test #5130

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

byrnHDF
Copy link
Contributor

@byrnHDF byrnHDF commented Nov 18, 2024

Fixes Skip H5SHELL-test_flush_refresh Test for CMake #4394

@byrnHDF byrnHDF added Priority - 2. Medium ⏹ It would be nice to have this in the next release Component - Testing Code in test or testpar directories, GitHub workflows Type - Bug / Bugfix Please report security issues to [email protected] instead of creating an issue on GitHub labels Nov 18, 2024
@byrnHDF byrnHDF self-assigned this Nov 18, 2024
@derobins
Copy link
Member

I wish there were a portable way of doing this without the Perl dependency

@derobins
Copy link
Member

You don't need Perl for this test, though. The test will run fine if the system's date command takes %s (true on Linux and Mac, but not some oddballs like Solaris).

Also, this doesn't have a Powershell equivalent and doesn't get tested on Windows. We should add GitHub issues for anything that is tested under Linux but not Windows due to no Powershell equivalent.

@byrnHDF
Copy link
Contributor Author

byrnHDF commented Nov 19, 2024

However -the .sh file is not created earlier so cannot execute the test.
We would need to allow the configure file to happen.

@lrknox lrknox merged commit 258fa78 into HDFGroup:develop Nov 19, 2024
67 of 69 checks passed
@hyoklee
Copy link
Member

hyoklee commented Nov 20, 2024

@byrnHDF byrnHDF deleted the develop-fix-perl-dep branch November 25, 2024 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component - Testing Code in test or testpar directories, GitHub workflows Priority - 2. Medium ⏹ It would be nice to have this in the next release Type - Bug / Bugfix Please report security issues to [email protected] instead of creating an issue on GitHub
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants