-
-
Notifications
You must be signed in to change notification settings - Fork 265
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
Conversation
test/testswmr.pwsh.in
Outdated
@@ -0,0 +1,537 @@ | |||
#! /bin/bash |
There was a problem hiding this comment.
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 :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
right!
release_docs/RELEASE.txt
Outdated
@@ -47,6 +47,16 @@ New Features | |||
|
|||
Configuration: | |||
------------- | |||
- CMake will now run the power shell script tests in test/ by default |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK
test/ShellTests.cmake
Outdated
# 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 | ||
# ) |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will clean.
test/testswmr.pwsh.in
Outdated
) | ||
|
||
PROCESS { | ||
$message = Join-Path -Path $testdir -ChildPath $Message |
There was a problem hiding this comment.
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.
test/testvdsswmr.pwsh.in
Outdated
@@ -0,0 +1,211 @@ | |||
# Copyright by The HDF Group. | |||
# Copyright by the Board of Trustees of the University of Illinois. |
There was a problem hiding this comment.
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.
test/testswmr.pwsh.in
Outdated
@@ -0,0 +1,537 @@ | |||
# Copyright by The HDF Group. | |||
# Copyright by the Board of Trustees of the University of Illinois. |
There was a problem hiding this comment.
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.
No description provided.