@@ -14,6 +14,8 @@ make clean # remove build artifacts
14
14
make test # run tests
15
15
make pack # create installation packages
16
16
PACK_DEPS=0 # do not pack dependencies
17
+ INTO=dir # place artifacts in `dir`
18
+ BRANCH=name # use `name` as branch name
17
19
make deploy # copy packages to S3
18
20
make release # release a version
19
21
@@ -123,9 +125,9 @@ fetch deps:
123
125
124
126
pack :
125
127
ifneq ($(PACK_DEPS ) ,0)
126
- $(SHOW)DEVICE=$(DEVICE) BINDIR=$(BINROOT) INSTALL_DIR=$(INSTALL_DIR) DEPS=1 ./pack.sh
128
+ $(SHOW)DEVICE=$(DEVICE) BINDIR=$(BINROOT) INSTALL_DIR=$(INSTALL_DIR) BRANCH=$(BRANCH) INTO=$(INTO) DEPS=1 ./pack.sh
127
129
else
128
- $(SHOW)DEVICE=$(DEVICE) BINDIR=$(BINROOT) INSTALL_DIR=$(INSTALL_DIR) DEPS=0 ./pack.sh
130
+ $(SHOW)DEVICE=$(DEVICE) BINDIR=$(BINROOT) INSTALL_DIR=$(INSTALL_DIR) BRANCH=$(BRANCH) INTO=$(INTO) DEPS=0 ./pack.sh
129
131
endif
130
132
131
133
# ----------------------------------------------------------------------------------------------
@@ -143,10 +145,14 @@ ifneq ($(NO_LFS),1)
143
145
endif
144
146
$(SHOW)set -e ;\
145
147
cd $(ROOT)/test ;\
146
- export DEVICE=$(DEVICE) ;\
147
- python3 -m RLTest $(TEST_ARGS) --test $(TEST) --module $(INSTALL_DIR)/redisai.so ;\
148
+ DEVICE=$(DEVICE) ;\
149
+ { \
150
+ python3 -m RLTest $(TEST_ARGS) --test $(TEST) --module $(INSTALL_DIR)/redisai.so
151
+ printf "\nTests with --use-slaved:\n\n" ;\
148
152
python3 -m RLTest $(TEST_ARGS) --test $(TEST) --module $(INSTALL_DIR)/redisai.so --use-slaves ;\
149
- python3 -m RLTest $(TEST_ARGS) --test $(TEST) --module $(INSTALL_DIR)/redisai.so --use-aof
153
+ printf "\nTests with --use-aof:\n\n" ;\
154
+ python3 -m RLTest $(TEST_ARGS) --test $(TEST) --module $(INSTALL_DIR)/redisai.so --use-aof ;\
155
+ }
150
156
# Commented until the MacOS CI is available
151
157
# python3 -m RLTest $(TEST_ARGS) --test double-panda.py --module $(INSTALL_DIR)/redisai.so
152
158
0 commit comments