[Libre-soc-dev] daily kan-ban update 25mar2021

Luke Kenneth Casson Leighton lkcl at lkcl.net
Thu Mar 25 22:08:06 GMT 2021

 class TestRadixMMU(unittest.TestCase):

     def test_genmask(self):
@@ -705,6
@@ class TestRadixMMU(unittest.TestCase):
         shift = rts
         result = mem._walk_tree(addr, pgbase, mode, mbits, shift)
         print("     walking tree result", result)
+        print("should be",testresult)

here tobias you can add self.assertEqual(result, testresult)

then, use a for-loop to put in multiple potential values, if that is

for result, testresult in [
(nn, mm),
(nn2, mm2),


crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68

More information about the Libre-soc-dev mailing list