forked from ratchetphp/Ratchet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
34 lines (28 loc) · 1.26 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# This file is intended to ease the author's development and testing process
# Users do not need to use `make`; Ratchet does not need to be compiled
test:
phpunit
cover:
phpunit --coverage-text --coverage-html=reports/coverage
abtests:
ulimit -n 2048 && php tests/AutobahnTestSuite/bin/fuzzingserver-libevent.php &
ulimit -n 2048 && php tests/AutobahnTestSuite/bin/fuzzingserver-stream.php &
ulimit -n 2048 && php tests/AutobahnTestSuite/bin/fuzzingserver-libev.php &
ulimit -n 2048 && php tests/AutobahnTestSuite/bin/fuzzingserver-noutf8.php &
wstest -m testeeserver -w ws://localhost:8004 &
wstest -m fuzzingclient -s tests/AutobahnTestSuite/fuzzingclient-all.json
killall php wstest
abtest:
ulimit -n 2048 && php tests/AutobahnTestSuite/bin/fuzzingserver-stream.php &
wstest -m fuzzingclient -s tests/AutobahnTestSuite/fuzzingclient-quick.json
killall php
profile:
php -d 'xdebug.profiler_enable=1' tests/AutobahnTestSuite/bin/fuzzingserver-libevent.php &
wstest -m fuzzingclient -s tests/AutobahnTestSuite/fuzzingclient-profile.json
killall php
apidocs:
apigen --title Ratchet -d reports/api -s src/ \
-s vendor/react \
-s vendor/guzzle \
-s vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session \
-s vendor/evenement/evenement/src/Evenement