Skip to content

Commit

Permalink
Add test_expensive target to the main Makefile
Browse files Browse the repository at this point in the history
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 ipfs#283.

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
  • Loading branch information
chriscool committed Nov 22, 2014
1 parent 34da5f0 commit 3edbadd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3edbadd

Please sign in to comment.