Commit 0f962880 authored by Alexandre Julliard's avatar Alexandre Julliard
Browse files

winetest: Report success if the report has been submitted successfully.

parent 44a81794
......@@ -1525,10 +1525,18 @@ int __cdecl main( int argc, char *argv[] )
if (build_id[0] && nr_of_skips <= SKIP_LIMIT && failures <= FAILURES_LIMIT &&
!nr_native_dlls && !is_win9x &&
report (R_ASK, MB_YESNO, "Do you want to submit the test results?") == IDYES)
{
if (!send_file (submiturl, logname) && !DeleteFileA(logname))
report (R_WARNING, "Can't remove logfile: %u", GetLastError());
} else run_tests (logname, outdir);
report (R_STATUS, "Finished - %u failures", failures);
else
failures = 0; /* return success */
}
}
else
{
run_tests (logname, outdir);
report (R_STATUS, "Finished - %u failures", failures);
}
if (prev_crash_dialog) restore_crash_dialog( prev_crash_dialog );
}
if (poweroff)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment