Skip to content
This repository was archived by the owner on Apr 29, 2026. It is now read-only.

Commit e1282f0

Browse files
authored
Merge pull request #72 from gsmecher/fix-python-template
riscof_model.py fixes: don't use __init__ return value; use make -k. Fixes #71, #73.
2 parents 4f8b28a + 2500099 commit e1282f0

5 files changed

Lines changed: 8 additions & 8 deletions

File tree

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.25.3] - 2023-01-24
6+
- use "make -k" in riscof_model.py template to ensure all test cases run, even after a failure. Fixes #73.
7+
58
## [1.25.2] - 2022-10-08
69
- updating paths for docker image and plugins to point to new location
710

riscof/Templates/setup/model/riscof_model.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class dutname(pluginTemplate):
2222
__version__ = "XXX"
2323

2424
def __init__(self, *args, **kwargs):
25-
sclass = super().__init__(*args, **kwargs)
25+
super().__init__(*args, **kwargs)
2626

2727
config = kwargs.get('config')
2828

@@ -59,9 +59,6 @@ def __init__(self, *args, **kwargs):
5959
else:
6060
self.target_run = True
6161

62-
# Return the parameters set above back to RISCOF for further processing.
63-
return sclass
64-
6562
def initialise(self, suite, work_dir, archtest_env):
6663

6764
# capture the working directory. Any artifacts that the DUT creates should be placed in this
@@ -120,7 +117,7 @@ def runTests(self, testList):
120117

121118
# set the make command that will be used. The num_jobs parameter was set in the __init__
122119
# function earlier
123-
make.makeCommand = 'make -j' + self.num_jobs
120+
make.makeCommand = 'make -k -j' + self.num_jobs
124121

125122
# we will iterate over each entry in the testList. Each entry node will be refered to by the
126123
# variable testname.

riscof/__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 Pvt Ltd"""
66
__email__ = 'info@incoresemi.com'
7-
__version__ = '1.25.2'
7+
__version__ = '1.25.3'

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.25.2
2+
current_version = 1.25.3
33
commit = True
44
tag = True
55

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def read_requires():
2323
test_requirements = [ ]
2424

2525
setup(name="riscof",
26-
version='1.25.2',
26+
version='1.25.3',
2727
description="RISC-V Architectural Test Framework",
2828
long_description=readme + '\n\n',
2929
classifiers=[

0 commit comments

Comments
 (0)