14 Nov 2023 |
l0b0 | In reply to @bendlas:matrix.org Is there a way to define tests as nixos modules? Oh yes. Have a look at https://github.com/l0b0/nixpkgs/tree/master/nixos/tests | 06:13:23 |
bendlas | In reply to @vengmark2:matrix.org Oh yes. Have a look at https://github.com/l0b0/nixpkgs/tree/master/nixos/tests I know that folder. Is there any particular test that you would like me to look at for an example? | 12:58:21 |
bendlas | or is your point that import ./make-test-python.nix already accepts a nixos module? | 13:00:29 |
raitobezarius | Make test Python takes a set of NixOS systems | 13:02:13 |
raitobezarius | Which can contain any NixOS modules | 13:02:21 |
bendlas | and how about the tests themselves? say if I want to run the same test with many different parameter sets ... can I use module logic to generate the various instances? | 13:03:48 |
raitobezarius | You can just use a function to generate the Cartesian product of your variants | 13:04:15 |
bendlas | And also to the second part of my question: Is make-test-python & friends the only game in town? | 13:04:20 |
raitobezarius | You don't need to use a nixos module for that | 13:04:21 |
raitobezarius | We have examples already of such tests | 13:04:27 |
raitobezarius | You just parametrize the test | 13:04:39 |
bendlas | In reply to @raitobezarius:matrix.org You don't need to use a nixos module for that might have been convenient though ... but ok, I'm taking that as a "no" | 13:05:56 |
15 Nov 2023 |
| @grahamc:nixos.orgchanged room power levels. | 16:17:50 |
| @grahamc:nixos.org left the room. | 16:17:50 |
| @qyliss:fairydust.space joined the room. | 17:26:47 |
| NixOS Moderation Botchanged room power levels. | 18:12:39 |
| NixOS Moderation Botchanged room power levels. | 18:12:39 |
19 Nov 2023 |
| pbsds changed their display name from pbsds to pbsds (federation borken, may not see reply). | 03:35:39 |
| ZXGU joined the room. | 10:59:25 |
| pbsds changed their display name from pbsds (federation borken, may not see reply) to pbsds. | 20:38:53 |
22 Nov 2023 |
| @zarel_it:matrix.org joined the room. | 09:36:35 |
25 Nov 2023 |
Artturin | Which one should be used in nixos/test/all-tests.nix
handleTest or runTest ?
| 14:13:04 |
Artturin | I suppose runTest when the file has only one test | 14:13:39 |
nikstur | runTest uses the read-only pkgs set so is generally a little faster | 21:23:54 |
1 Dec 2023 |
Artturin | https://www.phoronix.com/news/xwayland-run | 06:38:05 |
4 Dec 2023 |
| @philiptaron:matrix.org joined the room. | 20:59:56 |
5 Dec 2023 |
| @federicodschonborn:matrix.org changed their profile picture. | 00:38:58 |
9 Dec 2023 |
| * lewo is trying to find which subtest is failing with a log stream of 10msg/sec :( | 16:32:21 |
15 Dec 2023 |
| @me:indeednotjames.com joined the room. | 18:24:11 |
@me:indeednotjames.com | do we have a set of images and other media files in nixpkgs for use in VM tests? | 18:26:44 |