=== steve__ is now known as sbeattie | ||
=== chihchun_afk is now known as chihchun | ||
pitti | Good morning | 06:17 |
---|---|---|
jibel | Good morning | 07:32 |
pitti | jibel: I'm scared to say that slowly, but steadily I understand the autopkgtest code.. | 08:09 |
jibel | pitti, argh, that's horrible, does it hurt? ;) | 08:10 |
pitti | jibel: it does.. | 08:10 |
pitti | jibel: I spent several hours trying to understand what all these AutoFile classes do, adding comments to document it, and now I remove their usage step by step :) | 08:11 |
jibel | pitti, oh, I'm sorry, I understand your pain. | 08:13 |
pitti | I already got rid of some of the confusing output/logging/Errplumb stuff | 08:13 |
pitti | jibel: but it seems this is becoming a more and more important infrastructure piece, so it's probably better if more than just two people in the world know how this works :) | 08:13 |
pitti | s/know/can understand/ | 08:14 |
jibel | pitti, agreed. From what I understood of the code, the logic is not really complicated but the code is somewhat obscure | 08:15 |
jibel | and it's an understatement | 08:15 |
DanChapman | good morning all | 09:14 |
pitti | hey DanChapman, how are you? | 09:26 |
jibel | pitti, simplejson was the package TheMuso was referring to in his patch pilot summary this morning? | 09:44 |
jibel | Morning DanChapman | 09:44 |
pitti | jibel: I don't know, I'm afraid | 09:44 |
jibel | it's sad because this package has the testsuite of +110 tests | 09:44 |
jibel | I'll enable autopkgtest and reply to the list | 09:45 |
pitti | jibel: I guess even a 'python -c "import simpleson"' test would already help a lot :) | 09:46 |
jibel | jibel, in this case definitely | 09:46 |
pitti | pitti: but running the full test suite is even better, of course | 09:46 |
pitti | (SCNR) | 09:46 |
jibel | pitti, do we have a preferred runner for python? | 09:48 |
pitti | jibel: what do you mean with runner? | 09:48 |
jibel | pitti, nose, pytest, unittest, ... | 09:48 |
pitti | not for autopkgtest | 09:49 |
jibel | pitti, in simplejson if I call the test script directly it'll use the source tree | 09:49 |
pitti | whatever upstream uses | 09:49 |
jibel | pitti, but if you use another runner it will use the package as installed | 09:49 |
pitti | oh, surprising; usually that's the easiest way to make it run against the system libs | 09:49 |
pitti | jibel: whatever is easiest | 09:50 |
jibel | they do a sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))) | 09:50 |
jibel | which point to the root of the source tree | 09:50 |
jibel | +s | 09:50 |
pitti | oh, eww | 09:51 |
pitti | how ugly; that sohuld be done by setting PYTHONPATH in the source tree test runner | 09:51 |
dingjj | ls | 10:18 |
davmor2 | Morning all | 10:28 |
slickymaster | good morning all | 11:02 |
=== chihchun is now known as chihchun_afk | ||
DanChapman | hey pitti, sorry I didn't see your message pop up. I'm good thanks how are you? | 11:26 |
DanChapman | morning jibel o/ | 11:26 |
pitti | DanChapman: heh, no problem; I'm fine, thanks! | 11:27 |
jibel | pitti, with UDD should I update changelog or it is done automatically from the commit message when the branch is merged? | 11:31 |
pitti | jibel: you should still write debian/changelog, and then use debcommit | 11:34 |
pitti | (that'll build the bzr changelog from debian/changelog) | 11:34 |
jibel | pitti, https://code.launchpad.net/~jibel/ubuntu/trusty/simplejson/enable_autopkgtest/+merge/195380 when you have a minute | 13:25 |
pitti | jibel: I haven't seen py.test yet, that's a runner like nose? | 13:26 |
pitti | jibel: how does that work around the sys.path() setting? | 13:26 |
jibel | pitti, yes it is similar to nose | 13:27 |
pitti | I guess I would just have copied the tests to $ADTTMP and run them from there, but if that's working as well, it's fine | 13:27 |
jibel | pitti, path is set in main of __init__ in the tests which is not called if you use the runner | 13:27 |
pitti | ah | 13:27 |
pitti | jibel: can you please forward it to Debian? | 13:28 |
jibel | otherwise setup.py just calls __init__.py to execute them | 13:28 |
pitti | right | 13:28 |
jibel | and uses unittest | 13:28 |
pitti | I'll merge/upload in the meantime | 13:28 |
jibel | I'll forward to debian and reply to luke | 13:29 |
pitti | thanks | 13:29 |
jibel | pitti, FW is finally open, I'll reenable cron in the lab which has not been copied from the previous machine and autopkgtest should start again | 13:31 |
pitti | yay | 13:31 |
pitti | jibel: merci | 13:31 |
jibel | well, that's theory of course :) | 13:31 |
elfy | balloons: I've just been informed that my day's of next week have been cancelled, I see no way to unregister from uds sessions - so you'll just have to ignore my name there | 15:52 |
balloons | elfy, ugh | 15:53 |
balloons | well, no worries about your name being there | 15:53 |
=== wylde is now known as Guest64913 | ||
Letozaf_ | balloons, hello | 20:10 |
Letozaf_ | balloons, I saw you fixed rssreader-app test, thanks, its nice to see it work both on the dekstop and device | 20:11 |
balloons | Letozaf_, howdy | 20:11 |
Letozaf_ | balloons, fine what about you ? | 20:11 |
balloons | Letozaf_, good.. there was a package issue that prevented the merge bot from running till just now | 20:13 |
balloons | so i'm reviewing the run | 20:13 |
balloons | looks like a dependency issue.. i fixed and pushing again :-) | 20:14 |
Letozaf_ | balloons, ok | 20:14 |
Letozaf_ | balloons, it passed! | 20:18 |
balloons | hehe ;-) | 20:18 |
balloons | Letozaf_, you can do the approval honors ;-) | 20:20 |
Letozaf_ | balloons, ok thanks | 20:20 |
balloons | Letozaf_, note I did disable the test_view_mode_and_feed_item test. I couldn't get it to switch tabs properly. Need to ask elopio about it | 20:21 |
Letozaf_ | balloons, yes I saw that | 20:21 |
balloons | dat timing | 20:22 |
* balloons waves to elopio | 20:22 | |
balloons | elopio, I wanted to ask you about why I couldn't get the emulator to switch tabs in rssreader for a test. the tabs are dynamically generated.. the emulator sees no tabs present | 20:24 |
balloons | also, I can't switch to a tab by name anymore, only objectname. naturally, these will only have dynamic names, not objectnames | 20:24 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!