No longer need to set LANG in RunTests.
This commit is contained in:
parent
1cc11e6086
commit
d6dd5fff7b
1 changed files with 1 additions and 2 deletions
|
@ -165,8 +165,7 @@ runTest testname opts inp norm = do
|
||||||
let normPath = norm
|
let normPath = norm
|
||||||
hFlush stdout
|
hFlush stdout
|
||||||
-- Note: COLUMNS must be set for markdown table reader
|
-- Note: COLUMNS must be set for markdown table reader
|
||||||
-- and we need LANG set for ghc 6.12
|
ph <- runProcess pandocPath (opts ++ [inpPath] ++ ["--data-dir", ".."]) Nothing (Just [("COLUMNS", "80")]) Nothing (Just hOut) (Just stderr)
|
||||||
ph <- runProcess pandocPath (opts ++ [inpPath] ++ ["--data-dir", ".."]) Nothing (Just [("COLUMNS", "80"),("LANG","en_US.UTF-8")]) Nothing (Just hOut) (Just stderr)
|
|
||||||
ec <- waitForProcess ph
|
ec <- waitForProcess ph
|
||||||
result <- if ec == ExitSuccess
|
result <- if ec == ExitSuccess
|
||||||
then do
|
then do
|
||||||
|
|
Loading…
Reference in a new issue