plugins/test_windows.sh

21 lines
363 B
Bash
Raw Normal View History

2018-12-07 21:39:45 +00:00
#!/usr/bin/env bash
#
# Run CNI plugin tests.
#
set -e
cd "$(dirname "$0")"
2018-12-07 21:39:45 +00:00
source ./build_windows.sh
echo "Running tests"
PKGS="./pkg/hns/..."
2018-12-07 21:39:45 +00:00
PLUGINS=$(cat plugins/windows_only.txt | dos2unix )
for d in $PLUGINS; do
PKGS="$PKGS ./$d/..."
done
echo "testing packages $PKGS"
go test -v $PKGS -ginkgo.randomizeAllSpecs -ginkgo.failOnPending -ginkgo.progress