summary refs log tree commit diff stats
path: root/scripts/test_interactive.sh
blob: d309799a95b639ea9af38369148cad72e43e387e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env sh

tast_target="$1"

[ -z "$test_target" ] && {
    echo "You need to select a test target!" 1>&2
    echo "Usage: test_interactive TEST_TARGET" 1>&2
    exit 1
}

nix build .#checks.x86_64-linux."$tast_target".driver

./result/bin/nixos-test-driver --interactive

# vim: ft=sh