Skip to content

Add run_tests.sh and fix single broken test - #99

Merged
ryanhamel merged 3 commits into
masterfrom
ryhamel/run_tests
Sep 17, 2026
Merged

ryanhamel merged 3 commits into
masterfrom
ryhamel/run_tests

Conversation

@ryanhamel

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

Fix environment recreation or clearing in run_tests.sh before approval.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

Adds a standalone test runner, mocks PBS commands in a driver test, and ignores the generated environment.

Changes:

  • Added run_tests.sh for isolated test execution.
  • Updated the driver test to avoid external PBS binaries.
  • Added .testenv to .gitignore.
File summaries
File Summary
run_tests.sh Creates the test environment and runs tests; moderate issue (2 votes): existing environments may be reused, making PYTHON overrides ineffective.
pbspro/test/pbspro_test/driver_test.py Mocks PBS command interactions in the test.
.gitignore Ignores the generated .testenv directory.
Review details
  • Files reviewed: 2/3 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread run_tests.sh Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@ryanhamel
ryanhamel merged commit 6418587 into master Sep 17, 2026
3 checks passed
@ryanhamel
ryanhamel deleted the ryhamel/run_tests branch September 17, 2026 16:15
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.

3 participants