aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/swarm/run_test.go
diff options
context:
space:
mode:
authorElad <theman@elad.im>2018-10-02 20:59:58 +0800
committerAnton Evangelatov <anton.evangelatov@gmail.com>2018-10-02 20:59:58 +0800
commitbd1f7ebda27d57002b6a04a95812420a40117b3a (patch)
tree231c5f50e2c0926725419056f2ac3320eb782b2c /cmd/swarm/run_test.go
parent26a37c5351d14ca3eea1efa5b4128166f7d8ec74 (diff)
downloaddexon-bd1f7ebda27d57002b6a04a95812420a40117b3a.tar
dexon-bd1f7ebda27d57002b6a04a95812420a40117b3a.tar.gz
dexon-bd1f7ebda27d57002b6a04a95812420a40117b3a.tar.bz2
dexon-bd1f7ebda27d57002b6a04a95812420a40117b3a.tar.lz
dexon-bd1f7ebda27d57002b6a04a95812420a40117b3a.tar.xz
dexon-bd1f7ebda27d57002b6a04a95812420a40117b3a.tar.zst
dexon-bd1f7ebda27d57002b6a04a95812420a40117b3a.zip
cmd/swarm: fix appveyor build (#17808)
Diffstat (limited to 'cmd/swarm/run_test.go')
-rw-r--r--cmd/swarm/run_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/swarm/run_test.go b/cmd/swarm/run_test.go
index 4be0495f8..6d2a86f4b 100644
--- a/cmd/swarm/run_test.go
+++ b/cmd/swarm/run_test.go
@@ -19,6 +19,7 @@ package main
import (
"context"
"crypto/ecdsa"
+ "flag"
"fmt"
"io/ioutil"
"net"
@@ -41,6 +42,8 @@ import (
"github.com/ethereum/go-ethereum/swarm"
)
+var loglevel = flag.Int("loglevel", 3, "verbosity of logs")
+
func init() {
// Run the app if we've been exec'd as "swarm-test" in runSwarm.
reexec.Register("swarm-test", func() {