diff --git a/Makefile b/Makefile index 3f4acc0..ee20908 100644 --- a/Makefile +++ b/Makefile @@ -6,11 +6,17 @@ cover: abtests: ulimit -n 2048 - php tests/ab-wstest-libevent.php & - php tests/ab-wstest-stream.php & - cd tests && wstest -m fuzzingclient -s ab-wstest-fuzzyconf.json + php tests/AutobahnTestSuite/bin/fuzzingserver-libevent.php & + php tests/AutobahnTestSuite/bin/fuzzingserver-stream.php & + wstest -m testeeserver -w ws://localhost:8002 & + wstest -m fuzzingclient -s tests/AutobahnTestSuite/fuzzingclient-all.json + killall php + killall python + +profile: + php -d 'xdebug.profiler_enable=1' tests/AutobahnTestSuite/bin/fuzzingserver-libevent.php & + wstest -m fuzzingclient -s tests/AutobahnTestSuite/fuzzingclient-profile.json killall php - echo apidocs: apigen --title Ratchet -d reports/api -s src/ \ diff --git a/tests/AutobahnTestSuite/bin/fuzzingserver-libevent.php b/tests/AutobahnTestSuite/bin/fuzzingserver-libevent.php index af120e4..df0c419 100644 --- a/tests/AutobahnTestSuite/bin/fuzzingserver-libevent.php +++ b/tests/AutobahnTestSuite/bin/fuzzingserver-libevent.php @@ -1,6 +1,6 @@