From 0dd8682a6b56a339e2de3e5316de41a818cd6398 Mon Sep 17 00:00:00 2001 From: Mehdi Dogguy Date: Thu, 23 Aug 2018 21:48:58 +0200 Subject: [PATCH 1/2] Add a 'test' target This patch is useful only for Debian: It helps dh_auto_test to detect that there is a testsuite and run it accordingly. dh_auto_test checks 'test' and 'check' targets, but not 'tests'. Co-authored-by: Kate --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 09e422c5853..74512edcb6f 100644 --- a/Makefile +++ b/Makefile @@ -186,6 +186,9 @@ uninstall: opam.install $(OPAMINSTALLER) -u $(OPAMINSTALLER_FLAGS) $< $(OPAMINSTALLER) -u $(OPAMINSTALLER_FLAGS) opam-installer.install +.PHONY: test +test: tests + .PHONY: tests tests: $(DUNE_DEP) src/client/no-git-version @$(DUNE) runtest $(DUNE_PROFILE_ARG) --root . $(DUNE_ARGS) src/ tests/ --no-buffer; \ From b2a761ba7e2f54171e3284f407ae97735da6da2c Mon Sep 17 00:00:00 2001 From: Kate Date: Thu, 28 Apr 2022 14:12:45 +0100 Subject: [PATCH 2/2] Update master_changes.md --- master_changes.md | 1 + 1 file changed, 1 insertion(+) diff --git a/master_changes.md b/master_changes.md index 6690e2b860d..33b6736b4e7 100644 --- a/master_changes.md +++ b/master_changes.md @@ -162,6 +162,7 @@ users) * Add `jsonm` (and `uutf`) dependency [#5098 @rjbou - fix #5085] * Bump opam-file-format to 2.1.4 [#5117 @kit-ty-kate - fix #5116] * Add `sha` dependency [#5042 @kit-ty-kate] + * Add a 'test' target [#5129 @kit-ty-kate @mehdid - partially fixes #5058] ## Infrastructure * Fix caching of Cygwin compiler on AppVeyor [#4988 @dra27]