Skip to content

Commit

Permalink
test-suite: fix bug causing unit tests to be skipped
Browse files Browse the repository at this point in the history
Since `ocaml_pwd.ml` was added this unquoted glob would be expanded by
the shell before being passed to `find`.
  • Loading branch information
SkySkimmer authored and ejgallego committed May 17, 2020
1 parent b9591f1 commit d70eded
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test-suite/Makefile
Expand Up @@ -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))

Expand Down

0 comments on commit d70eded

Please sign in to comment.