winetest: Include language settings in OS info.

This commit is contained in:
Jacek Caban 2011-07-29 14:59:45 +02:00 committed by Alexandre Julliard
parent 8cbc34e40f
commit b06358ecd4
1 changed files with 8 additions and 0 deletions

View File

@ -389,6 +389,13 @@ static void print_version (void)
} }
} }
static void print_language(void)
{
xprintf (" SystemDefaultLCID=%x\n", GetSystemDefaultLCID());
xprintf (" UserDefaultLCID=%x\n", GetUserDefaultLCID());
xprintf (" ThreadLocale=%x\n", GetThreadLocale());
}
static inline int is_dot_dir(const char* x) static inline int is_dot_dir(const char* x)
{ {
return ((x[0] == '.') && ((x[1] == 0) || ((x[1] == '.') && (x[2] == 0)))); return ((x[0] == '.') && ((x[1] == 0) || ((x[1] == '.') && (x[2] == 0))));
@ -987,6 +994,7 @@ run_tests (char *logname, char *outdir)
} }
xprintf ("Operating system version:\n"); xprintf ("Operating system version:\n");
print_version (); print_version ();
print_language ();
xprintf ("Dll info:\n" ); xprintf ("Dll info:\n" );
report (R_STATUS, "Counting tests"); report (R_STATUS, "Counting tests");