Commit 3edbadd1 authored by Christian Couder's avatar Christian Couder

Add test_expensive target to the main Makefile

Now 'make test' will run the go tests with option -test.short
and the sharness tests without any option.

And 'make test_expensive' will run the go tests without any
option and the sharness tests with option TEST_EXPENSIVE=1.

This should help fix the first part of issue #283.

License: MIT
Signed-off-by: default avatarChristian Couder <chriscool@tuxfamily.org>
parent 34da5f03
......@@ -15,8 +15,16 @@ install:
test: test_go test_sharness
test_expensive: test_go_expensive test_sharness_expensive
test_go:
go test -test.short ./...
test_go_expensive:
go test ./...
test_sharness:
cd test/ && make
test_sharness_expensive:
cd test/ && make TEST_EXPENSIVE=1
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment