diff options
author | Yegor Timoshenko <yegortimoshenko@gmail.com> | 2017-12-24 18:00:51 +0000 |
---|---|---|
committer | Yegor Timoshenko <yegortimoshenko@gmail.com> | 2017-12-24 18:00:51 +0000 |
commit | 4d498aff1a147f06d71a8e96d17bbba9df5ae926 (patch) | |
tree | 43cde1e3903d3d20cac8476f7101857f210a814c /tests | |
parent | a433fd730f65e427513883865e0610c0a4c519c6 (diff) |
tests: move to _tests
Diffstat (limited to 'tests')
-rw-r--r-- | tests/eval-test.nix | 15 | ||||
-rwxr-xr-x | tests/eval-test.sh | 18 |
2 files changed, 0 insertions, 33 deletions
diff --git a/tests/eval-test.nix b/tests/eval-test.nix deleted file mode 100644 index e946b0b..0000000 --- a/tests/eval-test.nix +++ /dev/null @@ -1,15 +0,0 @@ -{ - imports = [ <nixos-hardware-profile> ]; - - boot.loader.systemd-boot.enable = true; - - fileSystems."/" = { - device = "/dev/disk/by-uuid/00000000-0000-0000-0000-000000000000"; - fsType = "btrfs"; - }; - - nixpkgs.config = { - allowBroken = true; - allowUnfree = true; - }; -} diff --git a/tests/eval-test.sh b/tests/eval-test.sh deleted file mode 100755 index 00970b7..0000000 --- a/tests/eval-test.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh - -cd $(dirname $0)/.. - -find=(find . -name default.nix) - -for profile in `${find[@]}`; do - echo evaluating $profile >&2 - - nixos-rebuild \ - -I nixos-config=tests/eval-test.nix \ - -I nixos-hardware-profile=$profile \ - dry-build - - if [ $? -ne 0 ]; then - exit 1 - fi -done |