Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
b5a4d9aa
Commit
b5a4d9aa
authored
Oct 03, 2016
by
Edward Z. Yang
Browse files
Set LC_ALL=C when running package-tests to avoid Unicode output.
Signed-off-by:
Edward Z. Yang
<
ezyang@cs.stanford.edu
>
parent
26c67025
Changes
1
Hide whitespace changes
Inline
Side-by-side
Cabal/tests/PackageTests/PackageTester.hs
View file @
b5a4d9aa
...
...
@@ -149,7 +149,8 @@ runTestM suite name subname m = do
testShouldFail
=
False
,
testCurrentPackage
=
"."
,
testPackageDb
=
False
,
testEnvironment
=
[]
-- Try to avoid Unicode output
testEnvironment
=
[(
"LC_ALL"
,
Just
"C"
)]
}
void
(
runReaderT
(
cleanup
>>
m
)
(
suite
,
test
))
where
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment