Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 39 lines (28 sloc) 0.7 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
81ea80a @einaros updated build script to try to detect node binary architecture. fixes…
einaros authored
7 clean:
8 node-waf clean
9
19093dc @einaros initial import
einaros authored
10 run-tests:
6c65221 @einaros moving to mocha
einaros authored
11 @./node_modules/.bin/mocha \
19093dc @einaros initial import
einaros authored
12 -t 2000 \
13 $(TESTFLAGS) \
14 $(TESTS)
15
9615ea4 @einaros added integration test
einaros authored
16 run-integrationtests:
1f3873d @einaros switched to mocha for integration tests
einaros authored
17 @./node_modules/.bin/mocha \
9615ea4 @einaros added integration test
einaros authored
18 -t 5000 \
19 $(TESTFLAGS) \
20 $(TESTS)
21
19093dc @einaros initial import
einaros authored
22 test:
23 @$(MAKE) NODE_PATH=lib TESTS="$(ALL_TESTS)" run-tests
24
9615ea4 @einaros added integration test
einaros authored
25 integrationtest:
26 @$(MAKE) NODE_PATH=lib TESTS="$(ALL_INTEGRATION)" run-integrationtests
27
92d7710 @einaros added benchmark
einaros authored
28 benchmark:
39880c8 @einaros split benchmark
einaros authored
29 @node bench/sender.benchmark.js
30 @node bench/parser.benchmark.js
92d7710 @einaros added benchmark
einaros authored
31
bb9cad7 @einaros added autobahn test
einaros authored
32 autobahn:
81ea80a @einaros updated build script to try to detect node binary architecture. fixes…
einaros authored
33 @NODE_PATH=lib node test/autobahn.js
bb9cad7 @einaros added autobahn test
einaros authored
34
8f77e67 @einaros add autobahn test for websocket server
einaros authored
35 autobahn-server:
81ea80a @einaros updated build script to try to detect node binary architecture. fixes…
einaros authored
36 @NODE_PATH=lib node test/autobahn-server.js
8f77e67 @einaros add autobahn test for websocket server
einaros authored
37
a4b2a8e @einaros makefile fix
einaros authored
38 .PHONY: test
Something went wrong with that request. Please try again.