cvs: php4 /sapi/isapi/stresstest stresstest.cpp
| From: | Shane Caraveo | Date: | Mon, 15 Jan 2001 01:17:45 +0000 |
| Subject: | cvs: php4 /sapi/isapi/stresstest stresstest.cpp | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-3630@lists.php.net to get a copy of this message | ||
shane Sun Jan 14 17:17:45 2001 EDT
Modified files:
/php4/sapi/isapi/stresstest stresstest.cpp
Log:
dont do results if not using test files
Index: php4/sapi/isapi/stresstest/stresstest.cpp
diff -u php4/sapi/isapi/stresstest/stresstest.cpp:1.7 php4/sapi/isapi/stresstest/stresstest.cpp:1.8
--- php4/sapi/isapi/stresstest/stresstest.cpp:1.7 Sun Jan 14 17:13:51 2001
+++ php4/sapi/isapi/stresstest/stresstest.cpp Sun Jan 14 17:17:44 2001
@@ -450,9 +450,9 @@
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);
}
}