diff --git a/CHANGES.rst b/CHANGES.rst index b403bab..1742274 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,3 +1,10 @@ +Release 1.1.0-dev (to be released) +================================== + +* Feature: add parameter 'reason' for 'tool_exitcodes_2' + + + Release 1.0.1 (released Oct 2, 2019) ==================================== diff --git a/VERSION.txt b/VERSION.txt index 7e3a446..810fd1a 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1,8 +1,8 @@ -1.0.1 +1.1.0-dev Update the version number in: - VERSION.txt - setup.py - tct.py -- ChangeLog.txt \ No newline at end of file +- CHANGES.rst \ No newline at end of file diff --git a/setup.py b/setup.py index de32483..8e5f801 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ setup( name='TCT Toolchain Tool', - version='1.0.1', + version='1.1.0-dev', py_modules=['tct'], packages= ['tctlib'], include_package_data=True, diff --git a/tct.py b/tct.py index 797396e..7ab9c51 100644 --- a/tct.py +++ b/tct.py @@ -15,7 +15,7 @@ from tctlib import * import six -__VERSION__ = '1.0.1' +__VERSION__ = '1.1.0-dev' PY3 = sys.version_info[0] == 3 diff --git a/tctlib/__init__.py b/tctlib/__init__.py index eea8de1..997b491 100644 --- a/tctlib/__init__.py +++ b/tctlib/__init__.py @@ -106,10 +106,11 @@ def versiontuple(v, n=12): filled.append(point.zfill(n)) return tuple(filled) -def save_the_result(result, resultfile, params, facts, milestones, exitcode, CONTINUE): +def save_the_result(result, resultfile, params, facts, milestones, exitcode, + CONTINUE, reason): tool_exitcodes_2 = milestones.get('tool_exitcodes_2', {}) k = '%s/%s' % (params['toolrelpath'], params['toolname']) - tool_exitcodes_2[k] = '%s,%s' % (exitcode, CONTINUE) + tool_exitcodes_2[k] = '%s,%s,%s' % (exitcode, CONTINUE, reason) result['MILESTONES'].append({'tool_exitcodes_2': tool_exitcodes_2}) writejson(result, resultfile) return True