Commit 32415282 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Fix quoting, and add some sanity checking

parent 2a6e1e07
...@@ -4,7 +4,11 @@ include $(TOP)/mk/test.mk ...@@ -4,7 +4,11 @@ include $(TOP)/mk/test.mk
# The libraries that we actually know about. We don't want to test # The libraries that we actually know about. We don't want to test
# extralibs that are in our tree but which we haven't built. # extralibs that are in our tree but which we haven't built.
LIBRARIES := $(shell $(GHC_PKG) list --simple-output --names-only) LIBRARIES := $(shell '$(GHC_PKG)' list --simple-output --names-only)
ifeq "$(findstring base,$(LIBRARIES))" ""
$(error base library does not seem to be installed)
endif
# XXX Do this better? # XXX Do this better?
# Now find the "tests" directories of those libraries, where they exist # Now find the "tests" directories of those libraries, where they exist
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment