-
Notifications
You must be signed in to change notification settings - Fork 805
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
disable tests who require en culture, if current culture is not en #1135
disable tests who require en culture, if current culture is not en #1135
Conversation
Can we make it require en-US?
|
@@ -676,6 +682,8 @@ module Printing = | |||
let printing flag diffFileOut expectedFileOut diffFileErr expectedFileErr = check (attempt { | |||
let { Directory = dir; Config = cfg } = testContext () | |||
|
|||
do! requireENCulture () |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this skip all tests?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, it's temporary, until --preferreduilang
is merged. After that i reenable tests,
meanwhile the appveyor/jenkins run tests anyway, so no issues.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it disable negTest
only, not all
yeah but I also want to run tests ;-) |
@@ -21,6 +21,13 @@ let requireVSUltimate cfg = attempt { | |||
// ) | |||
} | |||
|
|||
let requireENCulture () = attempt { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we share this code with the above?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, i was a bit lazy, thx @dsyme
@forki you are |
I'm de-DE ;-) I want to run all tests, but not the 4 that only work on en-US |
@forki that's my pr 😄 , i disable the 5 tests ( 4 |
very good! |
ok refactored out the functions |
that's ok for review/merge /cc @KevinRansom @dsyme |
fix #1118
tests who require
en
culture are disabled, unless culture isen