X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=debug%2Ftestlib.py;h=90702bf605652b08372a3a96f2b0b4af07403cf7;hb=8e0f6a0b1a33d35f2248628af7333ede093341d0;hp=b19eafcb865f6bfa97f51674930137843541e86c;hpb=4590b79bc7241f3fa2424f96b4c6666a864fb6a9;p=riscv-tests.git diff --git a/debug/testlib.py b/debug/testlib.py index b19eafc..90702bf 100644 --- a/debug/testlib.py +++ b/debug/testlib.py @@ -836,8 +836,9 @@ class ExamineTarget(GdbTest): raise TestFailed("Couldn't determine XLEN from $misa (0x%x)" % self.hart.misa) - if (misa_xlen != hart.xlen): - raise TestFailed("MISA reported XLEN of %d but we were expecting XLEN of %d\n" % (misa_xlen, hart.xlen)) + if misa_xlen != hart.xlen: + raise TestFailed("MISA reported XLEN of %d but we were "\ + "expecting XLEN of %d\n" % (misa_xlen, hart.xlen)) txt += ("%d" % misa_xlen)