about summary refs log tree commit diff
path: root/tools/cheddar/default.nix
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2022-05-24T18·06-0700
committerclbot <clbot@tvl.fyi>2022-06-30T23·08+0000
commit2ec0d3611960b163a7052e8554ba065f3c89a8cc (patch)
tree0ba043748c1704813b1e51c9afc26c7a9f30379d /tools/cheddar/default.nix
parent043b2206324f7c8f4324a4ee1803357cbfae716e (diff)
test(tools/cheddar): Run unit tests during build r/4267
TIL `doCheck` is `naersk`'s mechanism for running unit tests during builds.

Change-Id: Ife8eebacdf211ea52ecd50bb7bcdba326db64fbe
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5661
Tested-by: BuildkiteCI
Reviewed-by: wpcarro <wpcarro@gmail.com>
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: wpcarro <wpcarro@gmail.com>
Diffstat (limited to 'tools/cheddar/default.nix')
-rw-r--r--tools/cheddar/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/cheddar/default.nix b/tools/cheddar/default.nix
index 17efae91ff89..d29f75dc3c9f 100644
--- a/tools/cheddar/default.nix
+++ b/tools/cheddar/default.nix
@@ -3,6 +3,7 @@
 depot.third_party.naersk.buildPackage {
   src = ./.;
   doDoc = false;
+  doCheck = true;
 
   override = x: {
     # Use our custom bat syntax set, which is everything from upstream,