diff --git a/bin/rl/rl.cpp b/bin/rl/rl.cpp index 1c9fea9537e..4acb5bce572 100644 --- a/bin/rl/rl.cpp +++ b/bin/rl/rl.cpp @@ -322,7 +322,7 @@ BOOL FVerbose; BOOL FQuiet; BOOL FNoWarn; BOOL FTest; -BOOL FStonOnError = FALSE; +BOOL FStopOnError = FALSE; BOOL GStopDueToError = FALSE; BOOL FLow; BOOL FNoDelete; @@ -2853,7 +2853,7 @@ ParseArg( } if (!_stricmp(&arg[1], "stoponerror")) { - FStonOnError = TRUE; + FStopOnError = TRUE; break; } if (!_stricmp(&arg[1], "exeflags")) { @@ -3591,7 +3591,7 @@ GetTestInfoFromNode { // Validate the timeout string now to fail early so we don't run any tests when there is an error. if (!IsTimeoutStringValid(testInfo->data[i])) { - CFG_ERROR_EX(fileName, node->LineNumber, + CFG_ERROR_EX(fileName, node->LineNumber, "Invalid timeout specified. Cannot parse or too large.\n", NULL); childNode->Dump(); return FALSE; @@ -5083,7 +5083,7 @@ main(int argc, char *argv[]) if (status == PCS_ERROR) { exit(1); - } + } else { diff --git a/bin/rl/rl.h b/bin/rl/rl.h index fe1a4a41d53..17f9d323d2e 100644 --- a/bin/rl/rl.h +++ b/bin/rl/rl.h @@ -871,7 +871,7 @@ extern BOOL FParallel; extern BOOL FSyncEnumDirs; extern BOOL FNogpfnt; extern BOOL FTest; -extern BOOL FStonOnError; +extern BOOL FStopOnError; extern BOOL FAppendTestNameToExtraCCFlags; extern BOOL FNoProgramOutput; extern BOOL FOnlyAssertOutput; diff --git a/bin/rl/rlrun.cpp b/bin/rl/rlrun.cpp index 49c8efbb541..1849ac3f238 100644 --- a/bin/rl/rlrun.cpp +++ b/bin/rl/rlrun.cpp @@ -524,7 +524,7 @@ int } // - // If the test is a JS test and we've passed in a custom config file, + // If the test is a JS test and we've passed in a custom config file, // ignore all of the other flags and just pass the config file in // if (kind == TK_JSCRIPT && pTestVariant->testInfo.data[TIK_CUSTOM_CONFIG_FILE] != nullptr) @@ -598,7 +598,7 @@ int if (fDumpOutputFile) { DumpFileToLog(full); } - if (FStonOnError) + if (FStopOnError) { GStopDueToError = TRUE; }