Skip to content

Instantly share code, notes, and snippets.

@gilligan
Created May 25, 2020 10:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gilligan/caf11980891789ea67f167ad4317f603 to your computer and use it in GitHub Desktop.
Save gilligan/caf11980891789ea67f167ad4317f603 to your computer and use it in GitHub Desktop.
diff --git a/mk/programs.mk b/mk/programs.mk
index 3fa9685c..ade23084 100644
--- a/mk/programs.mk
+++ b/mk/programs.mk
@@ -84,6 +84,5 @@ define build-program
# Phony target to run this program (typically as a dependency of 'check').
.PHONY: $(1)_RUN
$(1)_RUN: $$($(1)_PATH)
- $(trace-test) $$($(1)_PATH)
-
+ $(trace-test) $$($(1)_PATH) --gtest_throw_on_failure
endef
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment