Skip to content

Commit

Permalink
Merge pull request #6 from trianglesis/development_test
Browse files Browse the repository at this point in the history
Added new tpl versions in local_logic.py
  • Loading branch information
trianglesis authored Apr 25, 2018
2 parents ca3dbf8 + 459b4d2 commit e7ba150
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 5 deletions.
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ bmc_tplpre/check/__pycache__/
bmc_tplpre/tplint/
bmc_tplpre/taxonomy/
bmc_tplpre/DEV_TEST/
bmc_tplpre/.idea/
*.pyc
*.pyc
.idea/
bmc_tplpre/TPL_IDE_unittest/__init__.py
bmc_tplpre/TPL_IDE_unittest/load_tests.py
bmc_tplpre/TPL_IDE_unittest/test_runner.py
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 1.1.5 2018-25-04
- Added new versions of tpl and ADDM. Also added stubs for future version.

## 1.1.4 2017-10-11
- Show warning if no related tests found.

Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ This is IDE and automation program for [BMC Discovery (ADDM)](https://discovery.

#### Syntax check ####

#### NOTE: ####
Syntax check work only for versions: 11.0, 10.2, 10.1, 10.0

NOTE: syntax tests (require 3rd party [module tplint](https://communities.bmc.com/docs/DOC-42313) by Ladkau, Matthias)

To use syntax check functions:
Expand Down
18 changes: 17 additions & 1 deletion bmc_tplpre/check_ide/local_logic.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ def __init__(self):
'8.3': 'tpl16',
"""
self.tpl_folder_k = {
'1.20': 'tpl120',
'1.19': 'tpl119',
'1.18': 'tpl118',
'1.17': 'tpl117',
'1.16': 'tpl116',
'1.15': 'tpl115',
'1.14': 'tpl114',
'1.13': 'tpl113',
Expand All @@ -53,6 +58,12 @@ def __init__(self):
}

self.PRODUCT_VERSIONS = {
'11.8': 'NoName_11_8',
'11.7': 'NoName_11_7',
'11.6': 'NoName_11_6',
'11.5': 'NoName_11_5',
'11.4': 'EasterEgg',
'11.3': 'DoubleDecker',
'11.2': 'CustardCream',
'11.1': 'Bobblehat',
'11.0': 'Aardvark',
Expand All @@ -62,7 +73,12 @@ def __init__(self):
}

self.TPL_VERSIONS = {
'CustardCream': '1.14',
'NoName_11_8': '1.20',
'NoName_11_7': '1.19',
'NoName_11_6': '1.18',
'NoName_11_5': '1.17',
'EasterEgg': '1.16',
'DoubleDecker': '1.15',
'Bobblehat': '1.13',
'Aardvark': '1.12',
'Zythum': '1.10',
Expand Down
2 changes: 0 additions & 2 deletions bmc_tplpre/check_ide/upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,8 +377,6 @@ def tests_executor(self, tests_list, tst_cond):
else:
log.warning("There are no related tests found for current pattern!")



@staticmethod
def progress_bar(msg):
"""
Expand Down

0 comments on commit e7ba150

Please sign in to comment.