提交 3edd3227 作者: Christian Couder

test: add test_race target to Makefile

This builds go binaries using the -race flag
and then runs all the tests.

License: MIT
Signed-off-by: 's avatarChristian Couder <chriscool@tuxfamily.org>
上级 7edfc784
...@@ -45,6 +45,11 @@ test_cheap: ...@@ -45,6 +45,11 @@ test_cheap:
cd sharness && make cd sharness && make
cd 3nodetest && make cd 3nodetest && make
test_race:
cd sharness && make GOFLAGS=-race TEST_EXPENSIVE=1
cd 3nodetest && make GOFLAGS=-race
cd dependencies && make GOFLAGS=-race
IPFS-BUILD-OPTIONS: FORCE IPFS-BUILD-OPTIONS: FORCE
@bin/checkflags '$@' '$(GOFLAGS)' '*** new Go flags ***' @bin/checkflags '$@' '$(GOFLAGS)' '*** new Go flags ***'
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论