From 57634b99c1b836d29af878071d4b9afb0be7c1ca Mon Sep 17 00:00:00 2001 From: aszlig Date: Wed, 18 Mar 2015 14:55:10 +0100 Subject: 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 --- tests/default.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tests/default.nix (limited to 'tests/default.nix') diff --git a/tests/default.nix b/tests/default.nix new file mode 100644 index 00000000..96b7da48 --- /dev/null +++ b/tests/default.nix @@ -0,0 +1,15 @@ +{ system ? builtins.currentSystem, ... }: + +let + callTest = path: import ./make-test.nix (import path) { + inherit system; + }; + +in { + aszlig = { + i3 = callTest ./aszlig/i3.nix; + }; + labnet = { + heinrich = callTest ./labnet/heinrich.nix; + }; +} -- cgit 1.4.1