Program-ify everything in test suite.
Previously, in some cases we would carry around an explicit
FilePath for an executable that we wanted to invoke subsequently.
In this new scheme, any executable we want to execute gets registered
to the ProgramDb we are carrying around. Now we can uniformly
use runProgramM in all cases. Great!
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
Showing
- Cabal/Distribution/Simple/Program/Db.hs 8 additions, 0 deletionsCabal/Distribution/Simple/Program/Db.hs
- cabal-testsuite/PackageTests/Exec/sandbox-hc-pkg.test.hs 6 additions, 3 deletionscabal-testsuite/PackageTests/Exec/sandbox-hc-pkg.test.hs
- cabal-testsuite/Test/Cabal/Monad.hs 89 additions, 37 deletionscabal-testsuite/Test/Cabal/Monad.hs
- cabal-testsuite/Test/Cabal/Prelude.hs 7 additions, 11 deletionscabal-testsuite/Test/Cabal/Prelude.hs
Loading
Please register or sign in to comment