Skip to content

Conversation

@Cstandardlib
Copy link
Collaborator

Unit Tests and/or Case Tests for my changes

  • Add checks for hsolver tests so that it will pop a warning and quit if data files cannot be opened normally. Current test will stuck if the data file required by ifstream does not exist in working directory.

@mohanchen mohanchen added the Refactor Refactor ABACUS codes label Jan 6, 2025
@mohanchen mohanchen merged commit cdf1c04 into deepmodeling:develop Jan 6, 2025
14 checks passed
@Cstandardlib Cstandardlib deleted the tests/hsolver-add-file-check branch January 6, 2025 13:26
Fisherd99 pushed a commit to Fisherd99/abacus-BSE that referenced this pull request Mar 31, 2025
…ng#5823)

* Tests: add checks for opening data files by hsolver tests

* [pre-commit.ci lite] apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Refactor Refactor ABACUS codes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants