ghc-dup: d0fc4ee651c5f4eeeef58aa98942db0848d437d8

     1: TOP=..
     2: include $(TOP)/mk/boilerplate.mk
     3: include $(TOP)/mk/test.mk
     4: 
     5: # The libraries that we actually know about. We don't want to test
     6: # extralibs that are in our tree but which we haven't built.
     7: LIBRARIES := $(shell '$(GHC_PKG)' list --simple-output --names-only)
     8: 
     9: ifeq "$(findstring base,$(LIBRARIES))" ""
    10: $(error base library does not seem to be installed)
    11: endif
    12: 
    13: # Now find the "tests" directories of those libraries, where they exist
    14: LIBRARY_TEST_PATHS := $(wildcard $(patsubst %, $(TOP)/../libraries/%/tests, $(LIBRARIES)))
    15: 
    16: # Add tests from packages
    17: RUNTEST_OPTS += $(patsubst %, --rootdir=%, $(LIBRARY_TEST_PATHS))
    18: 

Generated by git2html.