<div dir="ltr">Hi All,<div><br></div><div style>I tried to run test cases for jvm backend by the following command,</div><div style><br></div><div style><br></div><div style>    pypy pypy/test_all.py rpython/translator/jvm/test</div>
<div style><br></div><div style><br></div><div style>but what I got was 10 tests defined in rpython/translator/jvm/test/test_backendopt.py although there are two dozens of test files in that directory.</div><div style><br>
</div><div style>After experiment, I found that it failed to collect test within a multi inherited class. Take test_constant.py as an example, it defines a class,</div><div style><br></div><div style><br></div><div style>
<div>    class TestConstant(BaseTestConstant, JvmTest):</div><div>        pass</div><div><br></div><div><br></div><div style>and JvmTest is defined as,</div><div style><br></div><div style><br></div><div style><div>    class JvmTest(BaseRtypingTest, OORtypeMixin):</div>
<div style>        ......</div><div><br></div><div><br></div></div><div style>When I executed the folloing,</div><div style><br></div><div style><br></div><div style>    ypy pypy/test_all.py rpython/translator/jvm/test/test_constant.py --collectonly<br>
</div><div style><br></div><div style><br></div><div style>it reported 0 item was collected. If I remove BaseTestConstant from TestConstant's super classes, it still reports 0 item collected; but if I remove JvmTest from its super classes, it reports 18 items are collected.</div>
<div style><br></div><div style><br></div><div style>I'm wondering how the daily test solve this problem?</div><div style><br></div><div style>Thanks,</div><div style>James Lan</div></div></div>