diff options
author | Jack Humbert <jack.humb@gmail.com> | 2016-08-27 17:06:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-27 17:06:45 -0400 |
commit | 4fd5ac8326f491a347b8c049f32a3353a633ebf5 (patch) | |
tree | c82d8b5325ea82a7544489022afe00bf909495c3 /message.mk | |
parent | f815b4871ebc5cc2f8d1a306eceec68c0a973a4c (diff) | |
parent | 922c4ea3bc46f6246d9f67ead11bcf53ff947ef3 (diff) |
Merge pull request #690 from fredizzimo/unit_test
Add Unit Testing support
Diffstat (limited to 'message.mk')
-rw-r--r-- | message.mk | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/message.mk b/message.mk index fb1a7a1f9a..fa051fd712 100644 --- a/message.mk +++ b/message.mk @@ -69,3 +69,11 @@ define GENERATE_MSG_MAKE_KB endif endef MSG_MAKE_KB = $(eval $(call GENERATE_MSG_MAKE_KB))$(MSG_MAKE_KB_ACTUAL) +define GENERATE_MSG_MAKE_TEST + MSG_MAKE_TEST_ACTUAL := Making test $(BOLD)$(TEST_NAME)$(NO_COLOR) + ifneq ($$(MAKE_TARGET),) + MSG_MAKE_TEST_ACTUAL += with target $(BOLD)$$(MAKE_TARGET)$(NO_COLOR) + endif +endef +MSG_MAKE_TEST = $(eval $(call GENERATE_MSG_MAKE_TEST))$(MSG_MAKE_TEST_ACTUAL) +MSG_TEST = Testing $(BOLD)$(TEST_NAME)$(NO_COLOR) |