]> granicus.if.org Git - php/commitdiff
dont do results if not using test files
authorShane Caraveo <shane@php.net>
Mon, 15 Jan 2001 01:17:44 +0000 (01:17 +0000)
committerShane Caraveo <shane@php.net>
Mon, 15 Jan 2001 01:17:44 +0000 (01:17 +0000)
sapi/isapi/stresstest/stresstest.cpp

index 2324adec3914ed3ea6370117ba6aaced3e38c9b8..3933fb0a919916ac1b2ced0fa364d03e4a870cf0 100644 (file)
@@ -450,9 +450,9 @@ DWORD CALLBACK IsapiThread(void *p)
                                                IsapiPostData.GetAt(i),
                                                IsapiMatchData.GetAt(i),
                                                TestNames.GetAt(i)))
-                               InterlockedIncrement(&Results[i].ok);
+                               if (test) InterlockedIncrement(&Results[i].ok);
                        else
-                               InterlockedIncrement(&Results[i].bad);
+                               if (test) InterlockedIncrement(&Results[i].bad);
                        Sleep(10);
                }
        }