[libc builder] Add benchmark util tests step to release builder
Summary: Run the benchmark utils tests on release builder to prevent benchmark utils from getting stale.
Reviewers: sivachandra
Reviewed By: sivachandra
Tags: #libc-project, #zorg
Differential Revision: https://reviews.llvm.org/D80162
diff --git a/zorg/buildbot/builders/annotated/libc-linux.py b/zorg/buildbot/builders/annotated/libc-linux.py
index 5a9b46e..706ef5a 100644
--- a/zorg/buildbot/builders/annotated/libc-linux.py
+++ b/zorg/buildbot/builders/annotated/libc-linux.py
@@ -50,6 +50,10 @@
util.clean_dir(os.path.join(aor_dir, 'build'))
run_command(['make', 'check'], directory=aor_dir)
+ if not args.debug:
+ with step('Benchmark Utils Tests'):
+ run_command(['ninja', 'libc-benchmark-util-tests'])
+
@contextmanager
def step(step_name, halt_on_fail=False):