Skip to content

Commit

Permalink
Merge pull request #16 from edwin7026/patch-1
Browse files Browse the repository at this point in the history
Bug fixes to self-checking feature
  • Loading branch information
neelgala authored Feb 5, 2024
2 parents e3516dc + 1d9dc69 commit d33109d
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.4.2] - 2024-01-18
- bug fixes pertaining to self-checking

## [1.4.1] - 2023-12-12
- count num of instructions executed per test and cummulative number

Expand Down
2 changes: 1 addition & 1 deletion river_core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

__author__ = """InCore Semiconductors"""
__email__ = '[email protected]'
__version__ = '1.4.1'
__version__ = '1.4.2'
2 changes: 1 addition & 1 deletion river_core/rivercore.py
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ def rivercore_compile(config_file, test_list, coverage, verbosity, dut_flags,
continue
result, log, insnsize = utils.compare_signature(test_wd + '/dut.dump', test_wd + '/ref.dump')
else:
if not os.path.isfile(test_wd + 'dut.signature'):
if not os.path.isfile(test_wd + '/dut.signature'):
logger.error(f'{test:<30} : DUT signature is missing')
test_dict[test]['result'] = 'Unavailable'
test_dict[test]['log'] = "DUT signature is missing"
Expand Down
2 changes: 1 addition & 1 deletion river_core/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def self_check(file1):
'''
result = 'Passed'
rout = ''
with open('file1','r') as f:
with open(file1,'r') as f:
for lineno, line in enumerate(f):
line_val = f'0x{line}'
if int(line_val,0) != 0:
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.4.1
current_version = 1.4.2
commit = True
tag = True

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,6 @@ def read_requires():
tests_require=test_requirements,
url=
'https://github.com/incoresemi/river_core',
version='1.4.1',
version='1.4.2',
zip_safe=False,
)

0 comments on commit d33109d

Please sign in to comment.