Uh oh!
There was an error while loading. Please reload this page.
Broken "list ." command - #19
Conversation
The changes look good - thanks! However the CI tests fail. In commit bc94ea4 I have addressed appveyor failure. As for the other failure, I think all adjusting listsize in https://github.com/rocky/python3-trepan/blob/master/test/unit/test-list.py#L13 and/or the computations using that, eg. line 56 is needed. python3-trepan/test/unit/test-list.py can be run from python on its own to check for other things that need to be changed. If you'd do that we could merge this in without causing CI breakage. Thanks, again. |
gscelsi
commented
Oct 1, 2018
via email
Hi Rocky,
I think the listsize is ok, I tried several values and all values > 1
pass all tests (as in 'python3 test-list.py'). Maybe I am not running
the same test as you are?
Cheers,
Giuseppe …----- Original Message -----
From: "rocky/python3-trepan"
To:"rocky/python3-trepan"
Cc:"Giuseppe Scelsi" , "Author"
Sent:Thu, 27 Sep 2018 02:24:28 -0700
Subject:Re: [rocky/python3-trepan] Broken "list ." command (#19)
The changes look good - thanks! However the CI tests fail. In commit
bc94ea4 [1] I have addressed appveyor failure. As for the CircleCI
test. As for the other failure, I think all that is needed is to
adjust listsize in
https://github.com/rocky/python3-trepan/blob/master/test/unit/test-list.py#L13
[2].
If you'd do that we could merge this in without causing CI breakage.
Thanks, again.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub [3], or mute the
thread [4].
Links:
------
[1]
bc94ea4
[2]
https://github.com/rocky/python3-trepan/blob/master/test/unit/test-list.py#L13
[3]
#19 (comment)
[4]
https://github.com/notifications/unsubscribe-auth/AbhOj-Yk4P_Ma8p1oS4ni2Is2Ks_nzfjks5ufJlMgaJpZM4W78Sp |
gscelsi
commented
Oct 1, 2018
Hold on, please ignore my previous message, I just found there is more to it. Will be back soon. |
rocky
commented
Oct 1, 2018
https://travis-ci.org/rocky/python3-trepan/jobs/433918855#L611 is about changing the listsize value in the test. |
bc3cc15 to
533c92bComparefbdaf79 to
894bdefCompareb2fd9e7 to
c3e9813Comparee550808 to
4f43a01Compare563695f to
3e8646dCompare0375a73 to
71ae537Compare00672fb to
f6322b7Comparefff1d0e to
e540f79Compare9cac0f8 to
a0895d6Compareb2c522f to
6a42688Comparee3404aa to
8187aafCompare46b6bd3 to
c872ebeCompare
dd81b32 is a simple modification that fixes the behaviour of "list .".
While I was at it, with dd81b32 I also fixed the number of lines printed as a result of commands such as "list 25," and similar. According to my understanding the number of lines printed when one of the range limits is left blank should always be "listsize" (10 by default), while in many cases the number was actually 11.