IRC logs for #buildstream for Thursday, 2017-08-24

gitlab-br-botbuildstream: issue #73 ("Open workspace should be able to check out new branch of git source") changed state ("opened") https://gitlab.com/BuildStream/buildstream/issues/7300:01
gitlab-br-botbuildstream: issue #71 ("Make it easier to add extra configure flags") changed state ("closed") https://gitlab.com/BuildStream/buildstream/issues/7100:34
*** jude has quit IRC01:58
*** tristan has joined #buildstream03:00
*** ChanServ sets mode: +o tristan03:02
juergbiptomato[m]: one option would be to install the test cases as well. alternatively, run the tests as part of the build process04:55
juergbiinstalled test cases can be removed again for deployment similar to header files etc.04:56
*** palasso has joined #buildstream05:44
*** anahuelamo has joined #buildstream07:44
bochecha_juergbi: is there something special to remove header files for deployments? what I've done for now is make a new element specific to deployment which runs a bunch of rm commands :)07:49
juergbibochecha_: you can define split-rules (project-wide and per element) and then use them in compose elements using 'include'07:52
juergbisee https://buildstream.gitlab.io/buildstream/projectconf.html and https://buildstream.gitlab.io/buildstream/elements/compose.html07:52
bochecha_ooooh07:54
bochecha_I guess I can greatly simplify what I did then, with this :)07:54
juergbi:)07:54
*** jonathanmaw has joined #buildstream08:08
*** bochecha has joined #buildstream08:12
*** bochecha_ has quit IRC08:14
*** ssam2 has joined #buildstream09:01
*** jude has joined #buildstream09:27
*** palasso has left #buildstream10:22
gitlab-br-botbuildstream: issue #74 ("Prevent artifacts from containing files in `/buildstream/build`") changed state ("opened") https://gitlab.com/BuildStream/buildstream/issues/7412:33
gitlab-br-botbuildstream: merge request (sb-elem-filter->master: source-bundle: fix filtering out of non-build elements) #83 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/8313:09
*** xjuan has joined #buildstream13:12
gitlab-br-botbuildstream: issue #75 ("source-bundle: generated script fails when a build element has no source") changed state ("opened") https://gitlab.com/BuildStream/buildstream/issues/7513:31
*** juergbi has quit IRC14:03
*** juergbi has joined #buildstream14:12
*** jude has quit IRC16:37
*** jude has joined #buildstream16:37
*** bochecha has quit IRC16:46
*** bochecha has joined #buildstream16:51
*** anahuelamo_ has joined #buildstream16:54
*** anahuelamo_ has joined #buildstream16:54
*** bochecha has quit IRC17:02
*** bochecha has joined #buildstream17:04
*** anahuelamo_ has quit IRC17:17
*** anahuelamo_ has joined #buildstream17:18
*** tristan has quit IRC17:24
*** jonathanmaw has quit IRC17:29
ptomato[m]juergbi: only supporting installed tests is quite a step backwards compared to jhbuild...17:29
ptomato[m]would it be possible to define a 'test-commands' in the various build elements which was run during the build if you do something like "bst build --test myelement.bst"?17:30
ptomato[m]for the time being I've put it in post-build-commands17:30
ssam2technically possible; tristan is the guy to convince really17:31
juergbithis might make sense17:31
ssam2i'd be fine with it ...17:31
juergbiyes, tristan?17:31
ptomato[m]now I have another problem though: sandbox can't access the X display while running the tests17:32
ptomato[m]any suggestions?17:32
ssam2i would really suggest using installed-tests for that kind of thing17:32
juergbiXvfb may be a possible alternative17:32
ssam2running unit tests at build time makes sense, but integration tests make more sense to run once everything has been, well, integrated17:32
ptomato[m]I have both uninstalled and installed tests in GJS, for example17:33
ptomato[m]not all tests make sense to be installed17:33
ptomato[m]juergbi: I was hoping to avoid xvfb, since it seems that I can access the X display in a bst shell when the build fails17:36
juergbibst shell explicitly passes through DISPLAY17:37
juergbibuild itself is meant to be isolated17:37
bochechaa `bst test element.bst` command would be pretty great17:37
juergbirelying on your regular X server for automated testing doesn't sound like a good idea17:38
juergbiwould fail on tpyical build servers17:38
bochechaand with a --all switch to run the tests for all the dependencies as well, it would be pretty amazing :)17:38
ptomato[m]that's true. I'm interested in creating a workflow with bst for developer workstation, but the testing code should probably work as well on autobuilders17:39
ptomato[m]I don't suppose there is an xvfb-run bst element floating around anywhere in anyone's repo? :-)17:44
juergbinot that i'm aware of17:50
*** ssam2 has quit IRC17:51
ptomato[m]ugh, I have to build an entire x server to get it, apparently17:56
ptomato[m]it would be nice if the gnome sdk included it, I guess17:56
juergbiwell, yes, it is an X server. but building whole xorg-server (without deps) takes 2 mins here, so it's not too bad17:57
juergbicould make sense to include this in the SDK for testing purposes, yes17:57
ptomato[m]do you have an xorg-server element that I could adapt? :-)17:58
juergbifrom sam's branch there is this: https://gitlab.com/baserock/definitions/blob/sam/buildstream/elements/x-generic/xserver.bst17:59
juergbidon't know how well it fits with other repos18:00
juergbibochecha: regarding 'bst test'. for uninstalled tests, this can't really work, afaict18:01
juergbiand for installed tests you can use the relatively recent bst shell -c18:01
juergbii don't know whether we should also provide commands for installed tests18:02
*** bochecha has quit IRC18:03
*** bochecha has joined #buildstream18:08
*** anahuelamo has quit IRC18:09
*** anahuelamo_ has quit IRC18:09
*** anahuelamo has joined #buildstream18:10
*** bochecha has quit IRC18:11
*** bochecha has joined #buildstream18:12
*** xjuan has quit IRC18:38
*** bochecha_ has joined #buildstream18:44
*** bochecha has quit IRC18:44
*** tristan has joined #buildstream19:06
*** bochecha_ has quit IRC19:16
*** bochecha_ has joined #buildstream19:17
*** bochecha_ has quit IRC19:21
*** ChanServ sets mode: +o tristan19:26
*** bochecha_ has joined #buildstream20:12
*** anahuelamo has quit IRC20:15
*** bochecha_ has quit IRC23:40
*** tristan has quit IRC23:57

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!