Skip to content

Commit b6a4899

Browse files
committed
initial 1.0 commit
1 parent 3af1ad9 commit b6a4899

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+604
-17466
lines changed

Makefile

+5-27
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,9 @@
11

2-
ALL_TESTS = $(shell find test/ -name '*.test.js')
3-
ALL_BENCH = $(shell find benchmarks -name '*.bench.js')
4-
5-
run-tests:
6-
@./node_modules/.bin/expresso \
7-
-t 3000 \
8-
-I support \
9-
--serial \
10-
$(TESTFLAGS) \
11-
$(TESTS)
2+
REPORTER = dot
123

134
test:
14-
@$(MAKE) NODE_PATH=lib TESTS="$(ALL_TESTS)" run-tests
15-
16-
test-cov:
17-
@TESTFLAGS=--cov $(MAKE) test
18-
19-
test-leaks:
20-
@ls test/leaks/* | xargs node --expose_debug_as=debug --expose_gc
21-
22-
run-bench:
23-
@node $(PROFILEFLAGS) benchmarks/runner.js
24-
25-
bench:
26-
@$(MAKE) BENCHMARKS="$(ALL_BENCH)" run-bench
27-
28-
profile:
29-
@PROFILEFLAGS='--prof --trace-opt --trace-bailout --trace-deopt' $(MAKE) bench
5+
@./node_modules/.bin/mocha \
6+
--reporter $(REPORTER) \
7+
--bail
308

31-
.PHONY: test bench profile
9+
.PHONY: test

0 commit comments

Comments
 (0)