From 3c690e2e536da52a49a1e79a5415fc41d54e4819 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sat, 30 Jun 2018 14:37:59 +0200 Subject: pkg/repro: ignore suppressed crashes This looks like the simplest way to deal with suppressed crashes reported out of repro. Fixes #645 --- pkg/repro/repro.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pkg') 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 -- cgit mrf-deployment