-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Started implemented version variables in test config. * Pavilion will now output current version in results. * Set default test version to be 1.0. * Removed trailing new line from pav version variable. * Implemented new version subsection in test config. Currently only outputs test version. * Implemented default value for min_pav_version. * Test incapatibility will cause the whole suite to stop running. * Initial unit test for version test config. * Put min_pav_version in the results * Implemented version info as fields in test_run object, updated accordingly. * Fixed how I get the version info. * Changed to a RegexElem to ensure we get a range in the expected format. * Fixed a typ. * Moved compatibility check to resolver.py * Removed unit test on run command, as version check is done elsewhere. * Fixed some whitespace issues,I created accidently. * Removed trailing new line in pav version variable. * Replaces a null value with a 'None' string, for result purposes. * Initial unit tests for version compatibility checks. * Removed unnecessary imports in unit test * Added comment for clarification. * Removed version keyed elem and made min_pav_version and test_verion there own thing. * Updated the unit tests to reflect changed made to config format. * Changed min_pav_version to compatible_pav_versions. * Updated help text for compatible_pav_versions. * yaml_config changes. * Updated compatible_pav_versions update null object as a string for results reasons. * Updated unit tests. * Changed default test_version to 0.0 * Fixed a spelling issue. * Updated unit test to include silence() method. * Compatible versions can be single version, range, or wildcard. * Changed the help text to reflect changes made. * Made compatible_pav_version a StrElem instead of RegexElem. * Removed compatible_pav_versions from test results, and updated unit tests. * Reworked the version check by breaking it into different methods. * White space fixes. * Made a check_version_compatibility method that calls the other methods, and cleans up the load_raw_configs method. * Renamed some methods. * Removed get_min_str, get_max_str methods. Removed calc_max, calc_min and replaced with verify_versions. * Removed a variable that doesn't get reused. * Reworked how compatible_pav_versions is verified, and broken up. * No longer allow * in the compatible_pav_version. * Changed how pav version is obtained. * Reworked where compatibility check occurs, updated error handling, fixed list splice issue. * Update file_format.py Co-authored-by: kjeverson <kjeverson@fg-fey1.lanl.gov> Co-authored-by: Paul Ferrell <51765748+Paul-Ferrell@users.noreply.github.com>
- Loading branch information
1 parent
d38fba6
commit 2b886ec
Showing
8 changed files
with
169 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
one: | ||
test_version: 1.2.3 | ||
run: | ||
cmds: | ||
- 'sleep 1' | ||
two: | ||
test_version: beta | ||
compatible_pav_versions: 1.2.3-5.4.9 | ||
run: | ||
cmds: | ||
- 'sleep 1' | ||
|
||
three: | ||
run: | ||
cmds: | ||
- 'sleep 1' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
one: | ||
test_version: 1.4 | ||
compatible_pav_versions: 1.2.4-1.2.8 | ||
run: | ||
cmd: | ||
- 'sleep 1' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters