diff options
author | Shane Caraveo <shane@php.net> | 2001-01-15 01:17:44 +0000 |
---|---|---|
committer | Shane Caraveo <shane@php.net> | 2001-01-15 01:17:44 +0000 |
commit | ebe94513cc805fbbef26b9684a5405566f251598 (patch) | |
tree | a6923a158f8c1972ab5fcf20925783ce3b1fa2a4 /sapi | |
parent | 1d40310fa4b91af309a2d247983dadc9a0b6c535 (diff) | |
download | php-git-ebe94513cc805fbbef26b9684a5405566f251598.tar.gz |
dont do results if not using test files
Diffstat (limited to 'sapi')
-rw-r--r-- | sapi/isapi/stresstest/stresstest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); } } |