mirror of https://github.com/fatedier/frp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
423 B
16 lines
423 B
#!/usr/bin/env bash
|
|
|
|
ROOT=$(unset CDPATH && cd $(dirname "${BASH_SOURCE[0]}")/.. && pwd)
|
|
|
|
which ginkgo &> /dev/null
|
|
if [ $? -ne 0 ]; then
|
|
echo "ginkgo not found, try to install..."
|
|
go install github.com/onsi/ginkgo/ginkgo
|
|
fi
|
|
|
|
debug=false
|
|
if [ x${DEBUG} == x"true" ]; then
|
|
debug=true
|
|
fi
|
|
ginkgo -nodes=4 ${ROOT}/test/e2e -- -frpc-path=${ROOT}/bin/frpc -frps-path=${ROOT}/bin/frps -log-level=debug -debug=${debug}
|