winetest: Make win9x unsupported.

It's still possible to run tests with this patch, but results won't be 
submitted.
This commit is contained in:
Jacek Caban 2010-12-16 15:29:59 +01:00 committed by Alexandre Julliard
parent c63a5fa8fd
commit a3217c8923

View file

@ -1162,8 +1162,13 @@ int main( int argc, char *argv[] )
}
}
if (!submit && !extract) {
int is_win9x = (GetVersion() & 0x80000000) != 0;
report (R_STATUS, "Starting up");
if (is_win9x)
report (R_WARNING, "Running on win9x is not supported. You won't be able to submit results.");
if (!running_on_visible_desktop ())
report (R_FATAL, "Tests must be run on a visible desktop");
@ -1208,7 +1213,7 @@ int main( int argc, char *argv[] )
DeleteFileA(logname);
exit (0);
}
if (build_id[0] && nr_of_skips <= SKIP_LIMIT && !nr_native_dlls &&
if (build_id[0] && nr_of_skips <= SKIP_LIMIT && !nr_native_dlls && !is_win9x &&
report (R_ASK, MB_YESNO, "Do you want to submit the test results?") == IDYES)
if (!send_file (logname) && !DeleteFileA(logname))
report (R_WARNING, "Can't remove logfile: %u", GetLastError());