aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2015-10-13 11:55:19 +0200
committerDmitry Vyukov <dvyukov@google.com>2015-10-13 15:29:07 +0200
commit29e95fbb262d0f19ee1f04a59bafda4bf8f97b63 (patch)
tree1b6e37f78ef2c60bef518fd95b2c2fd2f8798fd6 /tools
parent9145be6961b3b50eb682416c71e7c1b02b64cf33 (diff)
process covereage in ipc package instead of fuzzer
Diffstat (limited to 'tools')
-rw-r--r--tools/execlog/execlog.go2
-rw-r--r--tools/execprog/execprog.go2
-rw-r--r--tools/stress/stress.go2
3 files changed, 3 insertions, 3 deletions
diff --git a/tools/execlog/execlog.go b/tools/execlog/execlog.go
index a9081761e..f09ca7e56 100644
--- a/tools/execlog/execlog.go
+++ b/tools/execlog/execlog.go
@@ -71,7 +71,7 @@ func main() {
if idx%1000 == 0 {
log.Printf("executing %v\n", idx)
}
- _, _, _, _, err := env.Exec(progs[idx%len(progs)])
+ _, _, _, _, _, err := env.Exec(progs[idx%len(progs)])
if err != nil {
log.Printf("failed to execute program: %v", err)
}
diff --git a/tools/execprog/execprog.go b/tools/execprog/execprog.go
index d82ea514e..9e0ac16a9 100644
--- a/tools/execprog/execprog.go
+++ b/tools/execprog/execprog.go
@@ -53,7 +53,7 @@ func main() {
fmt.Fprintf(os.Stderr, "failed to create execution environment: %v\n", err)
os.Exit(1)
}
- output, strace, failed, hanged, err := env.Exec(p)
+ output, strace, _, failed, hanged, err := env.Exec(p)
fmt.Printf("result: failed=%v hanged=%v err=%v\n\n%s", failed, hanged, err, output)
if *flagStrace {
fmt.Printf("strace output:\n%s", strace)
diff --git a/tools/stress/stress.go b/tools/stress/stress.go
index 05bd5153b..388e2767d 100644
--- a/tools/stress/stress.go
+++ b/tools/stress/stress.go
@@ -59,7 +59,7 @@ func execute(env *ipc.Env, p *prog.Prog) {
if *flagExecutor == "" {
return
}
- output, _, _, _, err := env.Exec(p)
+ output, _, _, _, _, err := env.Exec(p)
if err != nil {
fmt.Printf("failed to execute executor: %v\n", err)
}