Skip to content
Snippets Groups Projects
Verified Commit 128d784f authored by Denis Smirnov's avatar Denis Smirnov
Browse files

fix: sbroad-cartidge Makefile error in integration tests

parent e2afc5a3
No related branches found
No related tags found
1 merge request!1414sbroad import
include sbroad-cartridge/Makefile
all: build
IMAGE_NAME = docker-public.binary.picodata.io/sbroad-builder:0.6.0
ROOT=sbroad-cartridge
bench:
make clean
......@@ -36,9 +39,6 @@ lint:
test:
cargo test --features mock -vv
test_integration:
cd sbroad-cartridge && $(MAKE) test_integration
test_all: test bench_check test_integration
update_ci_image:
......
......@@ -9,14 +9,17 @@ else
endif
endif
ROOT?=.
TEST_APP=$(ROOT)/test_app
build:
cargo build --release
build_integration:
cd test_app && cartridge build
cartridge build $(TEST_APP)
run_integration:
cd test_app && rm -rf tmp/tarantool.log && TARANTOOL_LOG_LEVEL=7 TARANTOOL_LOG=tmp/tarantool.log ./.rocks/bin/luatest --coverage -v test/
cd $(TEST_APP) && rm -rf tmp/tarantool.log && TARANTOOL_LOG_LEVEL=7 TARANTOOL_LOG=tmp/tarantool.log ./.rocks/bin/luatest --coverage -v test/ && cd ..
install_release:
mkdir -p $(LUADIR)/$(PROJECT_NAME)
......@@ -24,4 +27,5 @@ install_release:
cp -Rf src/*.lua $(LUADIR)/$(PROJECT_NAME)
cp -Rf cartridge $(LUADIR)
test_integration: build_integration run_integration
test_integration:
$(MAKE) build_integration && $(MAKE) run_integration
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment