1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-31 05:04:23 +03:00

Use go standard path for test data

This commit is contained in:
Dimitrij Denissenko
2016-03-12 10:25:59 +00:00
parent eb78eedafe
commit e80f790e76
4 changed files with 7 additions and 7 deletions

View File

@ -2,13 +2,13 @@ all: testdeps
go test ./... -test.v -test.cpu=1,2,4
go test ./... -test.v -test.short -test.race
testdeps: .test/redis/src/redis-server
testdeps: testdata/redis/src/redis-server
.PHONY: all test testdeps
.test/redis:
testdata/redis:
mkdir -p $@
wget -qO- https://github.com/antirez/redis/archive/unstable.tar.gz | tar xvz --strip-components=1 -C $@
.test/redis/src/redis-server: .test/redis
testdata/redis/src/redis-server: testdata/redis
cd $< && make all