go test -o promdb_test -c -args installpath=`go env GOPATH | awk -F ':' '{print $1}'`/bin CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go test -o ${installpath}/linux_amd64/promdb_test -c -args