Revert "tests: move to _tests"

This reverts commit 4d498aff1a.
This commit is contained in:
Yegor Timoshenko committed 2017-12-24 22:21:53 +00:00
1 parent 8abb6374c1
commit b63e0eb372
2 files changed
+1 -1

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
#!/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