diff options
author | 2019-06-10 11:18:59 -0700 | |
---|---|---|
committer | 2019-06-10 11:18:59 -0700 | |
commit | 7250d708338cc2d1e46ed4e4278b471779a76784 (patch) | |
tree | c13e533b683afbd069d6626b950d48f6b4d3d6bc /infra/gcb | |
parent | ff4bae9c43d138ad76e684b59dbacf9dbcd66aab (diff) |
[infra] Run tests on the builder after patching MSan libraries. (#2497)
* [WORK IN PROGRESS] Debug Travis failure when doing build check for MSan build.
* Change order of "MSan patch libraries" and "build check" steps.
Diffstat (limited to 'infra/gcb')
-rw-r--r-- | infra/gcb/build_project.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/infra/gcb/build_project.py b/infra/gcb/build_project.py index cd466f3f..fcdb1a01 100644 --- a/infra/gcb/build_project.py +++ b/infra/gcb/build_project.py @@ -256,15 +256,6 @@ def get_build_steps(project_dir): ], }) - if run_tests: - build_steps.append( - # test binaries - { - 'name': 'gcr.io/oss-fuzz-base/base-runner', - 'env': env, - 'args': ['bash', '-c', 'test_all'], - }) - if sanitizer == 'memory': # Patch dynamic libraries to use instrumented ones. build_steps.append({ @@ -279,6 +270,15 @@ def get_build_steps(project_dir): ], }) + if run_tests: + build_steps.append( + # test binaries + { + 'name': 'gcr.io/oss-fuzz-base/base-runner', + 'env': env, + 'args': ['bash', '-c', 'test_all'], + }) + if project_yaml['labels']: # write target labels build_steps.append({ |