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

Convert vds swmr test script to powershell #1245

Merged
merged 27 commits into from
Dec 8, 2021
Merged

Convert vds swmr test script to powershell #1245

merged 27 commits into from
Dec 8, 2021

Conversation

byrnHDF
Copy link
Contributor

@byrnHDF byrnHDF commented Dec 1, 2021

No description provided.

@@ -0,0 +1,537 @@
#! /bin/bash
Copy link
Member

Choose a reason for hiding this comment

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

We're not using bash :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

right!

@@ -47,6 +47,16 @@ New Features

Configuration:
-------------
- CMake will now run the power shell script tests in test/ by default
Copy link
Member

Choose a reason for hiding this comment

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

PowerShell is the correct spelling

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OK

# set_tests_properties (H5SHELL-test_usecases PROPERTIES
# ENVIRONMENT "LD_LIBRARY_PATH=$ENV{LD_LIBRARY_PATH}:${CMAKE_RUNTIME_OUTPUT_DIRECTORY}"
# WORKING_DIRECTORY ${HDF5_TEST_BINARY_DIR}/H5TEST
# )
Copy link
Member

Choose a reason for hiding this comment

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

Why is this commented out?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will clean.

)

PROCESS {
$message = Join-Path -Path $testdir -ChildPath $Message
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think $testdir needs to passed in as well - $testdir gets changed later to the test folder.

@@ -0,0 +1,211 @@
# Copyright by The HDF Group.
# Copyright by the Board of Trustees of the University of Illinois.
Copy link
Collaborator

@lrknox lrknox Dec 8, 2021

Choose a reason for hiding this comment

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

Assuming this is a new file, the Board of Trustees line should be removed.

@@ -0,0 +1,537 @@
# Copyright by The HDF Group.
# Copyright by the Board of Trustees of the University of Illinois.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Assuming this is a new file, the Board of Trustees line should be removed.

@lrknox lrknox merged commit 83cf2cb into HDFGroup:develop Dec 8, 2021
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.

4 participants