projects
/
openpower-isa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a17ada
)
make pytest ignore non-test classes, these're the last pytest collection warnings
author
Jacob Lifshay
<programmerjake@gmail.com>
Thu, 25 Aug 2022 05:36:38 +0000
(22:36 -0700)
committer
Jacob Lifshay
<programmerjake@gmail.com>
Thu, 25 Aug 2022 05:36:38 +0000
(22:36 -0700)
src/openpower/test/common.py
patch
|
blob
|
history
diff --git
a/src/openpower/test/common.py
b/src/openpower/test/common.py
index 34705af8a85e5d21b8d61ae52e0598a2a97901a3..4ba6ccdf2fafba7f759bfa2bc9005fe9bce066ed 100644
(file)
--- a/
src/openpower/test/common.py
+++ b/
src/openpower/test/common.py
@@
-85,6
+85,8
@@
def skip_case_if(condition, reason):
class TestAccumulatorBase:
+ __test__ = False # pytest should ignore this class
+
def __init__(self):
self.__subtest_args = {}
@@
-139,6
+141,8
@@
class TestAccumulatorBase:
class TestCase:
+ __test__ = False # pytest should ignore this class
+
def __init__(self, program, name, regs=None, sprs=None, cr=0, mem=None,
msr=0,
do_sim=True,