diff options
author | aszlig <aszlig@redmoonstudios.org> | 2015-03-18 14:55:10 +0100 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2015-03-18 14:55:10 +0100 |
commit | 57634b99c1b836d29af878071d4b9afb0be7c1ca (patch) | |
tree | 68ca115c8224ef8b8c8173db77861775f607f6a4 /tests/aszlig/i3.nix | |
parent | 903106efb392dc6235dd02523c29b3fbfed37462 (diff) |
tests: Refactor to something similar as machines/.
Similar to callMachine, we now have callTest. The latter uses make-test.nix, so we don't need to import the file explicitly anymore and can just write our VM test by using either an attrset or a lambda function which also gets our own packages in a vuizvui namespace. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'tests/aszlig/i3.nix')
-rw-r--r-- | tests/aszlig/i3.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/aszlig/i3.nix b/tests/aszlig/i3.nix index e90ff0f4..c6b84b76 100644 --- a/tests/aszlig/i3.nix +++ b/tests/aszlig/i3.nix @@ -1,4 +1,6 @@ -import ../make-test.nix ({ pkgs, ... }: { +{ pkgs, ... }: + +{ name = "i3"; machine = { lib, ... }: { @@ -26,4 +28,4 @@ import ../make-test.nix ({ pkgs, ... }: { $machine->sleep(20); $machine->screenshot("i3"); ''; -}) +} |