diff options
| author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2010-02-21 16:47:28 +0000 | 
|---|---|---|
| committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2010-02-21 16:47:28 +0000 | 
| commit | b165e4c50cdc71e639d634f2a8c3ab2c53a13112 (patch) | |
| tree | e742a08e9d74ef167bf03d2fac57ec66935786b2 /tests | |
| parent | 40ea955e23a684173f8f390d2e63980d7727d71c (diff) | |
| download | pandoc-b165e4c50cdc71e639d634f2a8c3ab2c53a13112.tar.gz | |
No longer need to set 'HOME' in RunTests.hs.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1843 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/RunTests.hs | 3 | 
1 files changed, 1 insertions, 2 deletions
| diff --git a/tests/RunTests.hs b/tests/RunTests.hs index 635c0b8b0..6dc0d6e18 100644 --- a/tests/RunTests.hs +++ b/tests/RunTests.hs @@ -152,9 +152,8 @@ runTest testname opts inp norm = do    let inpPath = inp    let normPath = norm    hFlush stdout -  env <- getEnvironment  -- we need at least HOME so pandoc can find data files    -- Note: COLUMNS must be set for markdown table reader -  ph <- runProcess pandocPath (opts ++ [inpPath] ++ ["--data-dir", ".."]) Nothing (Just (("COLUMNS", "80"):env)) Nothing (Just hOut) (Just stderr) +  ph <- runProcess pandocPath (opts ++ [inpPath] ++ ["--data-dir", ".."]) Nothing (Just [("COLUMNS", "80")]) Nothing (Just hOut) (Just stderr)    ec <- waitForProcess ph    result  <- if ec == ExitSuccess                  then do | 
