aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJerome Froelich <jeromefroelich@hotmail.com>2017-07-08 14:15:40 -0400
committerBen Kochie <superq@gmail.com>2017-07-08 20:15:40 +0200
commitcb14fff6c6f4e20fc2243eac9df980c46d8e80fa (patch)
treef6cba5a94e79e090a96ce591941f8113c80deffc /Makefile
parent6e82fd1c563686230edf302f362314fb8a3c7ddb (diff)
downloadprometheus_node_collector-cb14fff6c6f4e20fc2243eac9df980c46d8e80fa.tar.bz2
prometheus_node_collector-cb14fff6c6f4e20fc2243eac9df980c46d8e80fa.tar.xz
prometheus_node_collector-cb14fff6c6f4e20fc2243eac9df980c46d8e80fa.zip
[test] Call cmd.Start and cmd.Wait separately to avoid triggering race detector (#616)
* [test] Call cmd.Start and cmd.Wait separately to avoid triggering race detector * [test] Enable race detector for tests
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b74476b..deea054 100644
--- a/Makefile
+++ b/Makefile
@@ -43,7 +43,7 @@ style:
43 43
44test: collector/fixtures/sys/.unpacked 44test: collector/fixtures/sys/.unpacked
45 @echo ">> running tests" 45 @echo ">> running tests"
46 @$(GO) test -short $(pkgs) 46 @$(GO) test -short -race $(pkgs)
47 47
48collector/fixtures/sys/.unpacked: collector/fixtures/sys.ttar 48collector/fixtures/sys/.unpacked: collector/fixtures/sys.ttar
49 ./ttar -C collector/fixtures -x -f collector/fixtures/sys.ttar 49 ./ttar -C collector/fixtures -x -f collector/fixtures/sys.ttar