aboutsummaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-06-30 14:37:59 +0200
committerDmitry Vyukov <dvyukov@google.com>2018-06-30 14:37:59 +0200
commit3c690e2e536da52a49a1e79a5415fc41d54e4819 (patch)
treed7621d7c872f7f057a97570c1b1e94ce345f55b5 /pkg
parent44594e63623bf1966fdea0e591d1afbb9a9ce469 (diff)
pkg/repro: ignore suppressed crashes
This looks like the simplest way to deal with suppressed crashes reported out of repro. Fixes #645
Diffstat (limited to 'pkg')
-rw-r--r--pkg/repro/repro.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/repro/repro.go b/pkg/repro/repro.go
index 5df344a69..0aa91535e 100644
--- a/pkg/repro/repro.go
+++ b/pkg/repro/repro.go
@@ -594,6 +594,10 @@ func (ctx *context) testImpl(inst *vm.Instance, command string, duration time.Du
ctx.reproLog(2, "program did not crash")
return false, nil
}
+ if rep.Suppressed {
+ ctx.reproLog(2, "suppressed program crash: %v", rep.Title)
+ return false, nil
+ }
ctx.report = rep
ctx.reproLog(2, "program crashed: %v", rep.Title)
return true, nil