Remove the lock around NameCache for readBinIface.
[ghc-hetmet.git] / bindisttest / Makefile
index 1abbd78..71cb578 100644 (file)
@@ -33,6 +33,8 @@ else
        cd a/b/c/$(BIN_DIST_NAME) && ./configure --prefix=$(BIN_DIST_INST_DIR)
        cd a/b/c/$(BIN_DIST_NAME) && make install
 endif
+       $(BIN_DIST_INST_DIR)/bin/runghc HelloWorld > output
+       $(CONTEXT_DIFF) output expected_output
        $(BIN_DIST_INST_DIR)/bin/ghc --make HelloWorld
        ./HelloWorld > output
        $(CONTEXT_DIFF) output expected_output
@@ -40,7 +42,7 @@ endif
 
 clean distclean:
        $(RM) -rf $(BIN_DIST_INST_SUBDIR)
-       $(RM) -rf ghc*
+       $(RM) -rf a/b/c/*
        $(RM) HelloWorld HelloWorld.o HelloWorld.hi output
 
 # Ignore a load of other standard targets