Commit 7b7193fe authored by ijones's avatar ijones
Browse files

cleaned up some parse errors, more TODO

parent 4fe78fc6
......@@ -111,19 +111,19 @@ tests :: [Test]
tests = [TestLabel "testing the HUnit package" $ TestCase $
do oldDir <- getCurrentDirectory
setCurrentDirectory "test/HUnit-1.0"
-- assertCmd "make semiclean" "make semiclean"
pkgConf <- GHC.localPackageConfig
system $ "ghc-pkg --config-file=" ++ pkgConf ++ " -r HUnit-1.0"
assertCmd "./setup configure --prefix=\",tmp\"" "hunit configure"
assertCmd "./setup build" "hunit build"
assertCmd "./setup install --user" "hunit install"
assertCmd ("ghc -package-conf " ++ pkgConf ++ " -package HUnit-1.0 HUnitTester.hs -o ./hunitTest" "compile w/ hunit"
assertCmd ("ghc -package-conf " ++ pkgConf ++ " -package HUnit-1.0 HUnitTester.hs -o ./hunitTest") "compile w/ hunit"
assertCmd "./hunitTest" "hunit test"
assertCmd ("ghc-pkg --config-file=" ++ pkgConf ++ " -r HUnit-1.0" "package remove"
assertCmd ("ghc-pkg --config-file=" ++ pkgConf ++ " -r HUnit-1.0") "package remove"
setCurrentDirectory oldDir,
TestLabel "configure GHC, sdist" $ TestCase $
do system $ "ghc-pkg -r test-1.0 --config-file=" ++ pkgConf
do pkgConf <- GHC.localPackageConfig
system $ "ghc-pkg -r test-1.0 --config-file=" ++ pkgConf
setCurrentDirectory "test/A"
dirE1 <- doesDirectoryExist ",tmp"
when dirE1 (system "rm -r ,tmp">>return())
......
* misc
** make a library from the FileUtils, look at Python's os.path.
** add en.wikipedia.org/wiki/Cabal to web page
** if the configure with --user make sure it installs with --user!
** Possibly create a (native?) zib library?
** port code to windows
** ./Setup.lhs build for nhc
......@@ -11,22 +9,21 @@
** ./Setup.lhs bdist
* testing
** count errors and output.
** setup test suite to run on --push?
** redirect non-hunit outputs to a file?
** test / port code for Hugs and nhc
* Code
** BUG: sdist forgets to include the Setup.lhs file :)
** buildDepToDep in Configure doesn't set version dependency.
** Extensions -> flags interface (Misc.hs)
** Change mainModules to [(String, String)] for (Module, executable name)
** Change mainModules to [(String, String)] for (Module, executable
name)
** Build executables for mainModules
** parse Setup.description
** parser for Setup.description
** for fields like allModules, allow user to specify "Foo.Bar.*" or
something to indicate all haskell modules under that?
......
Supports Markdown
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