From: reed@google.com Date: Thu, 26 May 2011 15:57:56 +0000 (+0000) Subject: make --replay be the default. Now --noreplay will disable testing through a picture X-Git-Tag: accepted/tizen/5.0/unified/20181102.025319~18377 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b8b0983c9e06771154accb0c50570b0cc6f138cc;p=platform%2Fupstream%2FlibSkiaSharp.git make --replay be the default. Now --noreplay will disable testing through a picture git-svn-id: http://skia.googlecode.com/svn/trunk@1437 2bbb7eff-a529-9590-31e7-b0007b416f81 --- diff --git a/gm/gmmain.cpp b/gm/gmmain.cpp index 6267fd4..ea205e3 100644 --- a/gm/gmmain.cpp +++ b/gm/gmmain.cpp @@ -441,7 +441,7 @@ int main(int argc, char * const argv[]) { const char* readPath = NULL; // if non-null, were we read from to compare const char* diffPath = NULL; // if non-null, where we write our diffs (from compare) - bool doReplay = false; + bool doReplay = true; bool doSerialize = false; const char* const commandName = argv[0]; char* const* stop = argv + argc; @@ -461,8 +461,8 @@ int main(int argc, char * const argv[]) { if (argv < stop && **argv) { diffPath = *argv; } - } else if (strcmp(*argv, "--replay") == 0) { - doReplay = true; + } else if (strcmp(*argv, "--noreplay") == 0) { + doReplay = false; } else if (strcmp(*argv, "--serialize") == 0) { doSerialize = true; } else {