ref: 037c644bc26ee88d2fd2b0c9988bbcbdeaf46659
parent: bff5417fece9ae857ba09de40f1a0823bead52fc
author: Ori Bernstein <[email protected]>
date: Mon Sep 4 08:54:29 EDT 2017
support benchmark command targets.
--- a/mbld/deps.myr
+++ b/mbld/deps.myr
@@ -225,6 +225,10 @@
a = std.htgetv(b.deps.targs, "test", [][:])
std.slpush(&a, n)
std.htput(b.deps.targs, "test", a)
+ elif ct.isbench
+ a = std.htgetv(b.deps.targs, "bench", [][:])
+ std.slpush(&a, n)
+ std.htput(b.deps.targs, "bench", a)
elif gen
pid = run(ct.cmd, ct.dir)
match std.wait(pid)