mirror of
https://github.com/rancher/plugins.git
synced 2025-07-07 03:59:23 +00:00
15 lines
367 B
Bash
15 lines
367 B
Bash
|
#!/usr/bin/env bash
|
||
|
#
|
||
|
# Run CNI plugin tests.
|
||
|
#
|
||
|
set -e
|
||
|
|
||
|
source ./build_windows.sh
|
||
|
|
||
|
echo "Running tests"
|
||
|
|
||
|
PLUGINS=$(cat plugins/windows_only.txt | tr '\n' ' ')
|
||
|
GINKGO_FLAGS="-p -r --randomizeAllSpecs --randomizeSuites --failOnPending --progress pkg/hns $PLUGINS"
|
||
|
|
||
|
bash -c "cd ${GOPATH}/src/${REPO_PATH}; PATH='${GOROOT}/bin:$(pwd)/bin:${PATH}' ginkgo ${GINKGO_FLAGS}"
|