Skip to content

Get unit tests working on Windows - #119

Merged
dnadeau-lanl merged 9 commits into
spacepy:masterfrom
jtniehof:xplatform_tests
Feb 3, 2022
Merged

dnadeau-lanl merged 9 commits into
spacepy:masterfrom
jtniehof:xplatform_tests

Conversation

@jtniehof

@jtniehof jtniehof commented Feb 2, 2022

Copy link
Copy Markdown
Member

This PR makes all the changes necessary for the unit tests to work on Windows. Mostly this is changes in the test suite itself, but there are some changes in the actual code. This doesn't guarantee full functionality--I haven't run the functional, a lot of the scripts aren't tested, etc. But it's an incremental step. #116 would probably be the next step.

With this PR, all the unit tests also run on Mac. I didn't make any changes to make that happen, but I only tested on Mac once all the Windows fixes were in.

PR Checklist

  • Pull request has descriptive title
  • Pull request gives overview of changes
  • New code has inline comments where necessary
  • (N/A) Any new modules, functions or classes have docstrings consistent with dbprocessing style
  • (N/A) Major new functionality has appropriate Sphinx documentation
  • (N/A) Added an entry to release notes if fixing a major bug or providing a major new feature
  • New features and bug fixes should have unit tests
  • Relevant issues are linked in the description (use Closes # if this PR closes the issue, or some other reference, such as See # if it is related in some other way)

@jtniehof jtniehof added testing Affects tests not functionality Windows Issues specific to running on Windows labels Feb 2, 2022
@jtniehof
jtniehof requested a review from dnadeau-lanl February 2, 2022 21:59
@dnadeau-lanl
dnadeau-lanl merged commit 2ca3554 into spacepy:master Feb 3, 2022
@jtniehof
jtniehof deleted the xplatform_tests branch February 4, 2022 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testing Affects tests not functionality Windows Issues specific to running on Windows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants