diff --git a/infra/gcb/build.py b/infra/gcb/build.py index 4659e8d30..bebb497d8 100755 --- a/infra/gcb/build.py +++ b/infra/gcb/build.py @@ -201,6 +201,17 @@ def get_build_steps(project_yaml, dockerfile_path): 'rm -r /out && cd /src && cd {1} && mkdir -p {0} && compile && rm -rf /work && rm -rf /src'.format(out, workdir), ], }, + # test binaries + {'name': 'gcr.io/oss-fuzz-base/base-runner', + 'env': env, + 'args': [ + 'bash', + '-c', + # Verify that fuzzers have been built properly and are not broken. + # TODO(mmoroz): raise a notification if not passing the tests. + 'test_all' + ] + }, # zip binaries {'name': image, 'args': [