mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-12-07 01:21:09 +01:00
tests: move to _tests
This commit is contained in:
parent
a433fd730f
commit
4d498aff1a
2 changed files with 1 additions and 1 deletions
18
_tests/eval-test.sh
Executable file
18
_tests/eval-test.sh
Executable 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue