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

Combine TestRunner, TestManager and TestScheduler and other cleanup #8

Merged
merged 7 commits into from
Jan 22, 2020

Conversation

MiCurry
Copy link
Collaborator

@MiCurry MiCurry commented Jan 22, 2020

These commits contain a number of changes. The biggest of which combines TestRunner, TestManager and TestScheduler in testRunner.py, which has now been renamed to testManager.py.

Other changes include:

  • Removing duplicate and unneeded imports
  • Removing the unused test status: INITIALIZED
  • Fix and re-enable parse checking for the libs section of env files
  • Removed unnecessary parts of the ResultProxy class
  • Removed env.get_modset which was a duplicate of env.list_modset.

The INITIALIZED state for subprocess was not being used and was not important
for running, so the state has been removed.
It didn't make sense having the above classes separated and as
nested-subclasses, in fact, it just made things more complicated as each one
was needed to be passed to another.

This commit combines them all into the TestRunner (to be renamed the
TestManager).
As well rename the class TestRunner to be TestManager
The ResultProxy contained elements that weren't needed, so this commit removes
them. It also adds documentation and explanation of the ResultClass,
ResultProxy and result manager.
env.get_modset was a duplicate of env.list_modset, so env.get_modset was
removed.
@MiCurry MiCurry merged commit 9563df2 into master Jan 22, 2020
@MiCurry MiCurry deleted the cleanup branch January 22, 2020 17:45
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.

1 participant