Skip to content
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

Conversation

enricosada
Copy link
Contributor

@enricosada enricosada commented Apr 29, 2016

fix #1118

tests who require en culture are disabled, unless culture is en

@forki
Copy link
Contributor

forki commented Apr 29, 2016

Can we make it require en-US?
On Apr 29, 2016 3:26 PM, "Enrico Sada" notifications@github.com wrote:

fix #1118 #1118

test are disabled, unless culture is en

You can view, comment on, or merge this pull request online at:

#1135
Commit Summary

  • disable tests who require en culture, if current culture is not en

File Changes

Patch Links:


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#1135

@@ -676,6 +682,8 @@ module Printing =
let printing flag diffFileOut expectedFileOut diffFileErr expectedFileErr = check (attempt {
let { Directory = dir; Config = cfg } = testContext ()

do! requireENCulture ()
Copy link
Contributor

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?

Copy link
Contributor Author

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.

Copy link
Contributor Author

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

@enricosada
Copy link
Contributor Author

@forki i think @dsyme is en-GB, so i dont want to disable test for him, en is enough

@forki
Copy link
Contributor

forki commented Apr 29, 2016

yeah but I also want to run tests ;-)

@@ -21,6 +21,13 @@ let requireVSUltimate cfg = attempt {
// )
}

let requireENCulture () = attempt {
Copy link
Contributor

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?

Copy link
Contributor Author

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

@enricosada
Copy link
Contributor Author

enricosada commented Apr 29, 2016

@forki you are en-What?

@forki
Copy link
Contributor

forki commented Apr 29, 2016

I'm de-DE ;-) I want to run all tests, but not the 4 that only work on en-US

@enricosada
Copy link
Contributor Author

@forki that's my pr 😄 , i disable the 5 tests ( 4 core/printing and netTest) who cannot run without en culture (i have it-IT )

@forki
Copy link
Contributor

forki commented Apr 29, 2016

very good!

@enricosada
Copy link
Contributor Author

ok refactored out the functions

@enricosada
Copy link
Contributor Author

that's ok for review/merge /cc @KevinRansom @dsyme

@KevinRansom KevinRansom merged commit ce687a4 into dotnet:master Apr 30, 2016
@forki
Copy link
Contributor

forki commented May 10, 2016

image

what about that one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tests broken on german machine because warning is given in german
5 participants