summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/go-redis/redis/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/go-redis/redis/Makefile')
-rw-r--r--vendor/github.com/go-redis/redis/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/vendor/github.com/go-redis/redis/Makefile b/vendor/github.com/go-redis/redis/Makefile
index 50fdc55a1..1fbdac91c 100644
--- a/vendor/github.com/go-redis/redis/Makefile
+++ b/vendor/github.com/go-redis/redis/Makefile
@@ -1,6 +1,7 @@
all: testdeps
go test ./...
go test ./... -short -race
+ env GOOS=linux GOARCH=386 go test ./...
go vet
testdeps: testdata/redis/src/redis-server
@@ -15,5 +16,5 @@ testdata/redis:
wget -qO- https://github.com/antirez/redis/archive/unstable.tar.gz | tar xvz --strip-components=1 -C $@
testdata/redis/src/redis-server: testdata/redis
- sed -i 's/libjemalloc.a/libjemalloc.a -lrt/g' $</src/Makefile
+ sed -i.bak 's/libjemalloc.a/libjemalloc.a -lrt/g' $</src/Makefile
cd $< && make all