Commit 75e8f4ed authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

winetest: Let the get_subtests() caller report errors.

The caller already analyses get_subtests() errors and provides a detailed error message in the information section of the report so the report(R_ERROR) pop up / stderr message is redundant.
parent caf83eb8
...@@ -815,12 +815,8 @@ get_subtests (const char *tempdir, struct wine_test *test, LPSTR res_name) ...@@ -815,12 +815,8 @@ get_subtests (const char *tempdir, struct wine_test *test, LPSTR res_name)
if (status) if (status)
{ {
if (status == -2)
report (R_ERROR, "Cannot run %s error %u", test->exename, err);
else
err = status;
close_temp_file( subname, subfile ); close_temp_file( subname, subfile );
return err; return status == -2 ? err : status;
} }
buffer = flush_temp_file( subname, subfile, &total ); buffer = flush_temp_file( subname, subfile, &total );
......
Markdown is supported
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