Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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