Skip to content

Commit 82d8cde

Browse files
authored
ensure make lua-test runs locally (#9902)
1 parent fa44f2f commit 82d8cde

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,6 @@ test: ## Run go unit tests.
147147
.PHONY: lua-test
148148
lua-test: ## Run lua unit tests.
149149
@build/run-in-docker.sh \
150-
BUSTED_ARGS=$(BUSTED_ARGS) \
151150
MAC_OS=$(MAC_OS) \
152151
test/test-lua.sh
153152

test/test-lua.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ SHDICT_ARGS=(
4141
)
4242

4343
if [ $# -eq 0 ]; then
44-
resty "${SHDICT_ARGS[@]}" ./rootfs/etc/nginx/lua/test/ ./rootfs/etc/nginx/lua/plugins/**/test
44+
resty "${SHDICT_ARGS[@]}" ./rootfs/etc/nginx/lua/test/ ./rootfs/etc/nginx/lua/plugins/**/test ${BUSTED_ARGS}
4545
else
46-
resty "${SHDICT_ARGS[@]}" $@
46+
resty "${SHDICT_ARGS[@]}" $@ ${BUSTED_ARGS}
4747
fi

0 commit comments

Comments
 (0)