gitlab-br-bot | buildstream: issue #73 ("Open workspace should be able to check out new branch of git source") changed state ("opened") https://gitlab.com/BuildStream/buildstream/issues/73 | 00:01 |
---|---|---|
gitlab-br-bot | buildstream: issue #71 ("Make it easier to add extra configure flags") changed state ("closed") https://gitlab.com/BuildStream/buildstream/issues/71 | 00:34 |
*** jude has quit IRC | 01:58 | |
*** tristan has joined #buildstream | 03:00 | |
*** ChanServ sets mode: +o tristan | 03:02 | |
juergbi | ptomato[m]: one option would be to install the test cases as well. alternatively, run the tests as part of the build process | 04:55 |
juergbi | installed test cases can be removed again for deployment similar to header files etc. | 04:56 |
*** palasso has joined #buildstream | 05:44 | |
*** anahuelamo has joined #buildstream | 07: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 |
juergbi | bochecha_: you can define split-rules (project-wide and per element) and then use them in compose elements using 'include' | 07:52 |
juergbi | see https://buildstream.gitlab.io/buildstream/projectconf.html and https://buildstream.gitlab.io/buildstream/elements/compose.html | 07:52 |
bochecha_ | ooooh | 07:54 |
bochecha_ | I guess I can greatly simplify what I did then, with this :) | 07:54 |
juergbi | :) | 07:54 |
*** jonathanmaw has joined #buildstream | 08:08 | |
*** bochecha has joined #buildstream | 08:12 | |
*** bochecha_ has quit IRC | 08:14 | |
*** ssam2 has joined #buildstream | 09:01 | |
*** jude has joined #buildstream | 09:27 | |
*** palasso has left #buildstream | 10:22 | |
gitlab-br-bot | buildstream: issue #74 ("Prevent artifacts from containing files in `/buildstream/build`") changed state ("opened") https://gitlab.com/BuildStream/buildstream/issues/74 | 12:33 |
gitlab-br-bot | buildstream: 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/83 | 13:09 |
*** xjuan has joined #buildstream | 13:12 | |
gitlab-br-bot | buildstream: issue #75 ("source-bundle: generated script fails when a build element has no source") changed state ("opened") https://gitlab.com/BuildStream/buildstream/issues/75 | 13:31 |
*** juergbi has quit IRC | 14:03 | |
*** juergbi has joined #buildstream | 14:12 | |
*** jude has quit IRC | 16:37 | |
*** jude has joined #buildstream | 16:37 | |
*** bochecha has quit IRC | 16:46 | |
*** bochecha has joined #buildstream | 16:51 | |
*** anahuelamo_ has joined #buildstream | 16:54 | |
*** anahuelamo_ has joined #buildstream | 16:54 | |
*** bochecha has quit IRC | 17:02 | |
*** bochecha has joined #buildstream | 17:04 | |
*** anahuelamo_ has quit IRC | 17:17 | |
*** anahuelamo_ has joined #buildstream | 17:18 | |
*** tristan has quit IRC | 17:24 | |
*** jonathanmaw has quit IRC | 17: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-commands | 17:30 |
ssam2 | technically possible; tristan is the guy to convince really | 17:31 |
juergbi | this might make sense | 17:31 |
ssam2 | i'd be fine with it ... | 17:31 |
juergbi | yes, tristan? | 17:31 |
ptomato[m] | now I have another problem though: sandbox can't access the X display while running the tests | 17:32 |
ptomato[m] | any suggestions? | 17:32 |
ssam2 | i would really suggest using installed-tests for that kind of thing | 17:32 |
juergbi | Xvfb may be a possible alternative | 17:32 |
ssam2 | running unit tests at build time makes sense, but integration tests make more sense to run once everything has been, well, integrated | 17:32 |
ptomato[m] | I have both uninstalled and installed tests in GJS, for example | 17:33 |
ptomato[m] | not all tests make sense to be installed | 17: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 fails | 17:36 |
juergbi | bst shell explicitly passes through DISPLAY | 17:37 |
juergbi | build itself is meant to be isolated | 17:37 |
bochecha | a `bst test element.bst` command would be pretty great | 17:37 |
juergbi | relying on your regular X server for automated testing doesn't sound like a good idea | 17:38 |
juergbi | would fail on tpyical build servers | 17:38 |
bochecha | and 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 autobuilders | 17:39 |
ptomato[m] | I don't suppose there is an xvfb-run bst element floating around anywhere in anyone's repo? :-) | 17:44 |
juergbi | not that i'm aware of | 17:50 |
*** ssam2 has quit IRC | 17:51 | |
ptomato[m] | ugh, I have to build an entire x server to get it, apparently | 17:56 |
ptomato[m] | it would be nice if the gnome sdk included it, I guess | 17:56 |
juergbi | well, yes, it is an X server. but building whole xorg-server (without deps) takes 2 mins here, so it's not too bad | 17:57 |
juergbi | could make sense to include this in the SDK for testing purposes, yes | 17:57 |
ptomato[m] | do you have an xorg-server element that I could adapt? :-) | 17:58 |
juergbi | from sam's branch there is this: https://gitlab.com/baserock/definitions/blob/sam/buildstream/elements/x-generic/xserver.bst | 17:59 |
juergbi | don't know how well it fits with other repos | 18:00 |
juergbi | bochecha: regarding 'bst test'. for uninstalled tests, this can't really work, afaict | 18:01 |
juergbi | and for installed tests you can use the relatively recent bst shell -c | 18:01 |
juergbi | i don't know whether we should also provide commands for installed tests | 18:02 |
*** bochecha has quit IRC | 18:03 | |
*** bochecha has joined #buildstream | 18:08 | |
*** anahuelamo has quit IRC | 18:09 | |
*** anahuelamo_ has quit IRC | 18:09 | |
*** anahuelamo has joined #buildstream | 18:10 | |
*** bochecha has quit IRC | 18:11 | |
*** bochecha has joined #buildstream | 18:12 | |
*** xjuan has quit IRC | 18:38 | |
*** bochecha_ has joined #buildstream | 18:44 | |
*** bochecha has quit IRC | 18:44 | |
*** tristan has joined #buildstream | 19:06 | |
*** bochecha_ has quit IRC | 19:16 | |
*** bochecha_ has joined #buildstream | 19:17 | |
*** bochecha_ has quit IRC | 19:21 | |
*** ChanServ sets mode: +o tristan | 19:26 | |
*** bochecha_ has joined #buildstream | 20:12 | |
*** anahuelamo has quit IRC | 20:15 | |
*** bochecha_ has quit IRC | 23:40 | |
*** tristan has quit IRC | 23:57 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!