Bug:Fix file validation issue
[vnfsdk/refrepo.git] / vnfmarket / src / main / webapp / vnfmarket / node_modules / socket.io / Makefile
1
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)
12
13 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
30
31 .PHONY: test bench profile