Skip to content

Commit d33109d

Browse files
authored
Merge pull request #16 from edwin7026/patch-1
Bug fixes to self-checking feature
2 parents e3516dc + 1d9dc69 commit d33109d

File tree

6 files changed

+8
-5
lines changed

6 files changed

+8
-5
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

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

5+
## [1.4.2] - 2024-01-18
6+
- bug fixes pertaining to self-checking
7+
58
## [1.4.1] - 2023-12-12
69
- count num of instructions executed per test and cummulative number
710

river_core/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44

55
__author__ = """InCore Semiconductors"""
66
__email__ = '[email protected]'
7-
__version__ = '1.4.1'
7+
__version__ = '1.4.2'

river_core/rivercore.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,7 @@ def rivercore_compile(config_file, test_list, coverage, verbosity, dut_flags,
628628
continue
629629
result, log, insnsize = utils.compare_signature(test_wd + '/dut.dump', test_wd + '/ref.dump')
630630
else:
631-
if not os.path.isfile(test_wd + 'dut.signature'):
631+
if not os.path.isfile(test_wd + '/dut.signature'):
632632
logger.error(f'{test:<30} : DUT signature is missing')
633633
test_dict[test]['result'] = 'Unavailable'
634634
test_dict[test]['log'] = "DUT signature is missing"

river_core/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def self_check(file1):
2626
'''
2727
result = 'Passed'
2828
rout = ''
29-
with open('file1','r') as f:
29+
with open(file1,'r') as f:
3030
for lineno, line in enumerate(f):
3131
line_val = f'0x{line}'
3232
if int(line_val,0) != 0:

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 1.4.1
2+
current_version = 1.4.2
33
commit = True
44
tag = True
55

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,6 @@ def read_requires():
6262
tests_require=test_requirements,
6363
url=
6464
'https://github.com/incoresemi/river_core',
65-
version='1.4.1',
65+
version='1.4.2',
6666
zip_safe=False,
6767
)

0 commit comments

Comments
 (0)