From 5153aeaffd096514c1f2652c69cd0fc0d298b1d3 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 29 Nov 2017 13:23:42 +0100 Subject: syz-ci: test images before using them Boot and minimally test images before declaring them as good and switching to using them. If image build/boot/test fails, upload report about this to dashboard. --- pkg/ipc/ipc_test.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pkg/ipc/ipc_test.go') diff --git a/pkg/ipc/ipc_test.go b/pkg/ipc/ipc_test.go index 51e961119..6d1c2c80e 100644 --- a/pkg/ipc/ipc_test.go +++ b/pkg/ipc/ipc_test.go @@ -114,6 +114,9 @@ func TestExecute(t *testing.T) { for i := 0; i < iters/len(flags); i++ { p := target.Generate(rs, 10, nil) + if i == 0 { + p = target.GenerateSimpleProg() + } opts := &ExecOpts{} output, _, _, _, err := env.Exec(opts, p) if err != nil { -- cgit mrf-deployment