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:
6
Makefile
6
Makefile
@ -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
|
||||
|
Reference in New Issue
Block a user