aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaƫtan Gilbert2020-05-10 14:10:58 +0200
committerEmilio Jesus Gallego Arias2020-05-17 13:22:06 +0200
commitd70eded945de983e83eab35000c343dfbfd8a94d (patch)
tree346fa1d1c29b865f71f55e64146f7e3d318d241d
parentb9591f15d75886456ff28984934de73d6a516af5 (diff)
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`.
-rw-r--r--test-suite/Makefile4
1 files 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))