Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 25 lines (19 sloc) 0.486 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
4 run-tests:
5 @./node_modules/.bin/expresso \
6 -t 2000 \
7 --serial \
8 $(TESTFLAGS) \
9 $(TESTS)
10
9615ea4 Einar Otto Stangvik added integration test
einaros authored
11 run-integrationtests:
12 @./node_modules/.bin/expresso \
13 -t 5000 \
14 --serial \
15 $(TESTFLAGS) \
16 $(TESTS)
17
19093dc Einar Otto Stangvik initial import
einaros authored
18 test:
19 @$(MAKE) NODE_PATH=lib TESTS="$(ALL_TESTS)" run-tests
20
9615ea4 Einar Otto Stangvik added integration test
einaros authored
21 integrationtest:
22 @$(MAKE) NODE_PATH=lib TESTS="$(ALL_INTEGRATION)" run-integrationtests
23
19093dc Einar Otto Stangvik initial import
einaros authored
24 .PHONY: test
Something went wrong with that request. Please try again.