代码拉取完成,页面将自动刷新
# Are we running a specific module's tests or just the core tests?
ifndef module
module=core
endif
.PHONY: test unit_tests system_tests
ifneq (,$(findstring UNIT_TESTS,$(DEFS)))
include Makefile.openssl
misclibs=lib/digest_auth/libdigest_auth.a
UNIT_TESTS=1
endif
ensure_test_defs:
ifndef UNIT_TESTS
@! grep -q '^DEFS+= -DUNIT_TESTS' Makefile.conf && \
echo '\nDEFS+= -DUNIT_TESTS' >> Makefile.conf && \
echo "-DUNIT_TESTS was not enabled in Makefile.conf," \
"run 'make test' again." && exit 1 || true
else
@true
endif
unit_tests: ensure_test_defs $(NAME)
-@echo " ============= Start Unit Tests ============="
./$(NAME) -dd -T $(module) -w . -a HP_MALLOC
-@echo " ================================================"
-@echo " ======== Passed All Tests! ᕦ(ò_óˇ)ᕤ ========"
-@echo " ================================================"
system_tests:
$(MAKE) -C test/ all
test: unit_tests #system_tests #TODO: bring these up to date!
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。