From e2e0c22845c09b9bbd3dc9244ad666d4a0f410d8 Mon Sep 17 00:00:00 2001 From: Max Moroz Date: Wed, 9 Aug 2017 15:22:02 -0700 Subject: [PATCH] [infra] Execute test_all step (includes bad_build_check) for all builds. (#766) * [infra] Execute test_all step (includes bad_build_check) for all builds. * Checkout master branch as usual. --- infra/gcb/build.py | 11 +++++++++++ 1 file changed, 11 insertions(+) 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': [