]> granicus.if.org Git - php/commitdiff
tune test's README more per FR #55474
authorBoris Lytochkin <lytboris@php.net>
Thu, 25 Aug 2011 06:00:11 +0000 (06:00 +0000)
committerBoris Lytochkin <lytboris@php.net>
Thu, 25 Aug 2011 06:00:11 +0000 (06:00 +0000)
ext/snmp/tests/README

index a2cb794913d2cff6ecf40c3a6eb6c1d3868da039..819a50d8a20dfdd635e0d5ac4dbbabf615671b75 100644 (file)
@@ -16,6 +16,13 @@ SNMP_COMMUNITY : community name
 SNMP_COMMUNITY_WRITE : community used for write tests (snmpset()).
 SNMP_MIBDIR : Directory containing MIBS
 
+To run test suite you may use this command (presuming that you pwd is where
+this README file is located):
+> make -C ../../.. test TESTS="`cd ../../..; /bin/ls -1 ext/snmp/tests/*.phpt | xargs echo`"
+Running run-tests.php directly will clear your environment and therefore
+tests will fail if your SNMP configuration does not fit into default values
+specified in snmp_include.inc.
+
 ** Configuring the SNMPD server **
 
 On Linux/FreeBSD