Commit 512c9d8a authored by ijones's avatar ijones
Browse files

added attic

parent f8e4c1ed
-- build the executables
sequence_ [rawSystemExit (compilerPath (compiler lbi)) ["--make", modName, "-o" ++ exeName]
| (exeName, modName, _) <- executables pkg_descr]
TestLabel "Config" $ TestList [
"config prefix ghc given package tool" ~: "failed" ~:
basicGhcConfig ~=? (parseArgs ["--prefix=/lib", "--ghc",
"--with-compiler=/bin/ghc",
"--with-pkg=/bin/ghc-pkg",
"configure"]),
"find package tool" ~: "failed" ~:
basicGhcConfig ~=? (parseArgs ["--prefix=/lib", "--ghc",
"--with-compiler=/bin/ghc",
"configure"]),
"locate compiler and package tool" ~: "failed" ~:
realGhcConfig ~=? (parseArgs ["configure", "--ghc"]),
"should we default to the current compiler?" ~: "failed" ~:
realGhcConfig ~=? (parseArgs ["configure"])],
let basicGhcConfig = (ConfigCmd [Prefix "/lib",
GhcFlag,
(LocalBuildInfo "/lib"
(Compiler GHC "/bin/ghc"
"/bin/ghc-pkg")), [])
let realGhcConfig = (ConfigCmd (LocalBuildInfo "" (Compiler Hugs "" "")), [])
\ No newline at end of file
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