diff --git a/.gitignore b/.gitignore index f4792e8..accc8da 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f6f128..fe5ab25 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. diff --git a/README.md b/README.md index 30ef6d9..ebc9c33 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/bmc_tplpre/check_ide/local_logic.py b/bmc_tplpre/check_ide/local_logic.py index 050b2f8..e214b5b 100644 --- a/bmc_tplpre/check_ide/local_logic.py +++ b/bmc_tplpre/check_ide/local_logic.py @@ -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', @@ -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', @@ -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', diff --git a/bmc_tplpre/check_ide/upload.py b/bmc_tplpre/check_ide/upload.py index f723d08..4f31e36 100644 --- a/bmc_tplpre/check_ide/upload.py +++ b/bmc_tplpre/check_ide/upload.py @@ -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): """