Skip to content
Snippets Groups Projects
Commit f45be46e authored by Martin Stjernholm's avatar Martin Stjernholm
Browse files

Don't count presence of dont_dump constants as dump failures.

parent 50b2a009
Branches
Tags
No related merge requests found
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
|| This file is part of Pike. For copyright information see COPYRIGHT. || This file is part of Pike. For copyright information see COPYRIGHT.
|| Pike is distributed under GPL, LGPL and MPL. See the file COPYING || Pike is distributed under GPL, LGPL and MPL. See the file COPYING
|| for more information. || for more information.
|| $Id$
*/ */
constant description = "Dumps Pike files into object files."; constant description = "Dumps Pike files into object files.";
...@@ -244,8 +245,14 @@ do_dump: { ...@@ -244,8 +245,14 @@ do_dump: {
logmsg("Decode of %O failed (not dumped).\n", file); logmsg("Decode of %O failed (not dumped).\n", file);
} }
else if(!quiet) else {
logmsg("Not dumping %O (not dumped).\n", file); ok = 1; // Don't count this as a failure.
if(!quiet)
logmsg("Not dumped due to %s constant.\n",
p->dont_dump_module ? "dont_dump_module" :
p->dont_dump_program ? "dont_dump_program" :
"this_program_does_not_exist");
}
} }
else { else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment