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
This commit is contained in:
parent
e3605d0e74
commit
b8b0983c9e
@ -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* 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)
|
const char* diffPath = NULL; // if non-null, where we write our diffs (from compare)
|
||||||
|
|
||||||
bool doReplay = false;
|
bool doReplay = true;
|
||||||
bool doSerialize = false;
|
bool doSerialize = false;
|
||||||
const char* const commandName = argv[0];
|
const char* const commandName = argv[0];
|
||||||
char* const* stop = argv + argc;
|
char* const* stop = argv + argc;
|
||||||
@ -461,8 +461,8 @@ int main(int argc, char * const argv[]) {
|
|||||||
if (argv < stop && **argv) {
|
if (argv < stop && **argv) {
|
||||||
diffPath = *argv;
|
diffPath = *argv;
|
||||||
}
|
}
|
||||||
} else if (strcmp(*argv, "--replay") == 0) {
|
} else if (strcmp(*argv, "--noreplay") == 0) {
|
||||||
doReplay = true;
|
doReplay = false;
|
||||||
} else if (strcmp(*argv, "--serialize") == 0) {
|
} else if (strcmp(*argv, "--serialize") == 0) {
|
||||||
doSerialize = true;
|
doSerialize = true;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user