Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 35 lines (25 sloc) 0.647 kB
19093dc @einaros initial import
einaros authored
1 ALL_TESTS = $(shell find test/ -name '*.test.js')
9615ea4 @einaros added integration test
einaros authored
2 ALL_INTEGRATION = $(shell find test/ -name '*.integration.js')
19093dc @einaros initial import
einaros authored
3
71a1675 @einaros merged
einaros authored
4 all:
5 node-waf configure build
6
19093dc @einaros initial import
einaros authored
7 run-tests:
6c65221 @einaros moving to mocha
einaros authored
8 @./node_modules/.bin/mocha \
19093dc @einaros initial import
einaros authored
9 -t 2000 \
10 $(TESTFLAGS) \
11 $(TESTS)
12
9615ea4 @einaros added integration test
einaros authored
13 run-integrationtests:
1f3873d @einaros switched to mocha for integration tests
einaros authored
14 @./node_modules/.bin/mocha \
9615ea4 @einaros added integration test
einaros authored
15 -t 5000 \
16 $(TESTFLAGS) \
17 $(TESTS)
18
19093dc @einaros initial import
einaros authored
19 test:
20 @$(MAKE) NODE_PATH=lib TESTS="$(ALL_TESTS)" run-tests
21
9615ea4 @einaros added integration test
einaros authored
22 integrationtest:
23 @$(MAKE) NODE_PATH=lib TESTS="$(ALL_INTEGRATION)" run-integrationtests
24
92d7710 @einaros added benchmark
einaros authored
25 benchmark:
26 @node bench/WebSocket.benchmark.js
27
bb9cad7 @einaros added autobahn test
einaros authored
28 autobahn:
29 @NODE_PATH=lib node test/autobahn.js
30
8f77e67 @einaros add autobahn test for websocket server
einaros authored
31 autobahn-server:
32 @NODE_PATH=lib node test/autobahn-server.js
33
71a1675 @einaros merged
einaros authored
34 .PHONY: all
Something went wrong with that request. Please try again.