From d70eded945de983e83eab35000c343dfbfd8a94d Mon Sep 17 00:00:00 2001 From: Gaƫtan Gilbert Date: Sun, 10 May 2020 14:10:58 +0200 Subject: test-suite: fix bug causing unit tests to be skipped Since `ocaml_pwd.ml` was added this unquoted glob would be expanded by the shell before being passed to `find`. --- test-suite/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test-suite/Makefile b/test-suite/Makefile index dece21885c..a0a2367236 100644 --- a/test-suite/Makefile +++ b/test-suite/Makefile @@ -284,8 +284,8 @@ OCAMLOPT := $(OCAMLFIND) opt $(CAMLFLAGS) OCAMLC := $(OCAMLFIND) ocamlc $(CAMLFLAGS) # ML files from unit-test framework, not containing tests -UNIT_SRCFILES:=$(shell find ./unit-tests/src -name *.ml) -UNIT_ALLMLFILES:=$(shell find ./unit-tests -name *.ml) +UNIT_SRCFILES:=$(shell find ./unit-tests/src -name '*.ml') +UNIT_ALLMLFILES:=$(shell find ./unit-tests -name '*.ml') UNIT_MLFILES:=$(filter-out $(UNIT_SRCFILES),$(UNIT_ALLMLFILES)) UNIT_LOGFILES:=$(patsubst %.ml,%.ml.log,$(UNIT_MLFILES)) -- cgit v1.2.3