git.iko.soy/typeable/pandoc
on master help sign in
Set LANG to a UTF-8 locale in RunTests.hs.

git-svn-id: https://pandoc.googlecode.com/svn/trunk@1844 788f1e2b-df1e-0410-8736-df70ead52e1b

commite3ea078b269b04e7ae3eabb500ef55aae791f509 authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> dateSun 21 Feb 2010, 16:47 (17 years ago) parentb165e4c
1 file changed+2−1
tests/RunTests.hs+2−1
tests/RunTests.hs+2−1
@@ -153,7 +153,8 @@ runTest testname opts inp norm = do
153153 let normPath = norm
154154 hFlush stdout
155155 -- Note: COLUMNS must be set for markdown table reader
156− ph <- runProcess pandocPath (opts ++ [inpPath] ++ ["--data-dir", ".."]) Nothing (Just [("COLUMNS", "80")]) Nothing (Just hOut) (Just stderr)
156+ -- and we need LANG set for ghc 6.12
157+ ph <- runProcess pandocPath (opts ++ [inpPath] ++ ["--data-dir", ".."]) Nothing (Just [("COLUMNS", "80"),("LANG","en_US.UTF-8")]) Nothing (Just hOut) (Just stderr)
157158 ec <- waitForProcess ph
158159 result <- if ec == ExitSuccess
159160 then do