Revision 7577e1e87227e4d625066aa1153246b507bf6f3d authored by einaros on 24 November 2011, 21:10:17 UTC, committed by einaros on 24 November 2011, 21:10:17 UTC
1 parent 6ab7bda
Raw File
Makefile
ALL_TESTS = $(shell find test/ -name '*.test.js')
ALL_INTEGRATION = $(shell find test/ -name '*.integration.js')

run-tests:
	@./node_modules/.bin/expresso \
		-t 2000 \
		--serial \
		$(TESTFLAGS) \
		$(TESTS)

run-integrationtests:
	@./node_modules/.bin/expresso \
		-t 5000 \
		--serial \
		$(TESTFLAGS) \
		$(TESTS)

test:
	@$(MAKE) NODE_PATH=lib TESTS="$(ALL_TESTS)" run-tests

integrationtest:
	@$(MAKE) NODE_PATH=lib TESTS="$(ALL_INTEGRATION)" run-integrationtests

.PHONY: test
back to top