From: Shane Caraveo Date: Mon, 15 Jan 2001 01:17:44 +0000 (+0000) Subject: dont do results if not using test files X-Git-Tag: php-4.0.5RC1~572 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ebe94513cc805fbbef26b9684a5405566f251598;p=php dont do results if not using test files --- diff --git a/sapi/isapi/stresstest/stresstest.cpp b/sapi/isapi/stresstest/stresstest.cpp index 2324adec39..3933fb0a91 100644 --- a/sapi/isapi/stresstest/stresstest.cpp +++ b/sapi/isapi/stresstest/stresstest.cpp @@ -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); } }