-
Notifications
You must be signed in to change notification settings - Fork 216
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
Compclasses cleanup #1226
Compclasses cleanup #1226
Conversation
@@ -218,13 +218,15 @@ def __init__(self, test_names, test_data=None, | |||
else: | |||
self._update_test_status(test, phase, TEST_PEND_STATUS) | |||
self._update_test_status(test, phase, status) | |||
logger.info("Using existing test directory %s"%(self._get_test_dir(test))) |
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.
Unrelated change to improve output from create_test
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.
Since this log output is inside the self._tests loop, wouldn't you end up with identical 'Using existing test directory' log entries if there is more than one test? I suggest either adding the test name to the log output (see below) or move the log outside the for loop.
"Using existing test directory %s for "%(self._get_test_dir(test), test)
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.
The output from _get_test_dir includes the test name.
Why are the PET and PEM tests not tested in scripts_regression_tests.py (I know, not really part of this PR review but I'm curious)? |
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.
Please document the actual PET and PEM tests performed.
@@ -218,13 +218,15 @@ def __init__(self, test_names, test_data=None, | |||
else: | |||
self._update_test_status(test, phase, TEST_PEND_STATUS) | |||
self._update_test_status(test, phase, status) | |||
logger.info("Using existing test directory %s"%(self._get_test_dir(test))) |
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.
Since this log output is inside the self._tests loop, wouldn't you end up with identical 'Using existing test directory' log entries if there is more than one test? I suggest either adding the test name to the log output (see below) or move the log outside the for loop.
"Using existing test directory %s for "%(self._get_test_dir(test), test)
else: | ||
# None of the test directories should already exist. | ||
for test in self._tests: | ||
expect(not os.path.exists(self._get_test_dir(test)), | ||
"Cannot create new case in directory '%s', it already exists." | ||
" Pick a different test-id" % self._get_test_dir(test)) | ||
logger.info("Created test in directory %s"%self._get_test_dir(test)) | ||
logger.info("Creating test directory %s"%(self._get_test_dir(test))) | ||
|
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.
As above, since you moved the statement inside the loop, please add the test name to the log.
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.
Try before you comment - the output from _get_test_dir includes the test name.
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.
Oy, yes the test name is buried in the directory name, however, that's not what the user typed. It was just a suggestion to aid users who may not be used to parsing the test directory names.
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.
This change was in response to a user request that just seeing the test name here was not enough and they wanted the full path to the test. I think that the test name is output elsewhere.
Regarding the PET and PEM tests - they aren't in cime standalone tests because none of the cime standalone code includes threading and so they wouldn't do anything. |
I have updated the documentation to reflect the PET and PEM tests that I ran. |
This PR adds SMS_D_Ln5 and ERP_Ld5_P8x4 tests for FC5AV1C-04P2 to the acme testing suites. These tests are using ne4 grid resolution. [BFB] - Bit-For-Bit * singhbalwinder/atm/tests-for-4p2: Adds tests for FC5AV1C-04P2 compset
This PR adds SMS_D_Ln5 and ERP_Ld5_P8x4 tests for FC5AV1C-04P2 to the acme testing suites. These tests are using ne4 grid resolution. [BFB] - Bit-For-Bit * singhbalwinder/atm/tests-for-4p2: Adds tests for FC5AV1C-04P2 compset
This PR adds SMS_D_Ln5 and ERP_Ld5_P8x4 tests for FC5AV1C-04P2 to the acme testing suites. These tests are using ne4 grid resolution. [BFB] - Bit-For-Bit * singhbalwinder/atm/tests-for-4p2: Adds tests for FC5AV1C-04P2 compset
Get rid of hard coded comp_class settings and use get_values instead.
Punting on NCR test - it's broken, was broken before this PR will open a ticket.
Test suite: scripts_regression_tests.py, hand tests of PET and PEM tests. PEM.f19_g16.F1850.yellowstone_intel
PET.f19_g16.F1850.yellowstone_intel
Test baseline:
Test namelist changes:
Test status: bit for bit
Fixes #1170
User interface changes?:
Code review: gold2718