Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
picodata
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
core
picodata
Commits
c884d0b4
Commit
c884d0b4
authored
4 months ago
by
EmirVildanov
Browse files
Options
Downloads
Patches
Plain Diff
feat: update test_app Makefile with rules running specific tests
parent
4f5d2025
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1414
sbroad import
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sbroad-cartridge/Makefile
+16
-0
16 additions, 0 deletions
sbroad-cartridge/Makefile
with
16 additions
and
0 deletions
sbroad-cartridge/Makefile
+
16
−
0
View file @
c884d0b4
...
...
@@ -28,6 +28,14 @@ build_integration:
run_integration
:
cd
$(
TEST_APP
)
&&
rm
-rf
tmp/tarantool_configuration.log
&&
TARANTOOL_LOG_LEVEL
=
5
TARANTOOL_LOG
=
tmp/tarantool.log ./.rocks/bin/luatest
--coverage
-v
test
/
&&
cd
..
# Run specific test_file, which name prefix is determined by TEST_FILE_PREFIX argument
run_integration_file
:
cd
$(
TEST_APP
)
&&
rm
-rf
tmp/tarantool_configuration.log
&&
TARANTOOL_LOG_LEVEL
=
5
TARANTOOL_LOG
=
tmp/tarantool.log ./.rocks/bin/luatest
--coverage
-v
test
/integration/
$(
TEST_FILE_PREFIX
)
_test.lua
&&
cd
..
# Run specific test pattern from specfic group, args are GROUP and PATTERN
run_integration_pattern
:
cd
$(
TEST_APP
)
&&
rm
-rf
tmp/tarantool_configuration.log
&&
TARANTOOL_LOG_LEVEL
=
5
TARANTOOL_LOG
=
tmp/tarantool.log ./.rocks/bin/luatest
--coverage
-v
$(
GROUP
)
-p
$(
PATTERN
)
&&
cd
..
install_debug
:
mkdir
-p
$(
LUADIR
)
/
$(
PROJECT_NAME
)
cp
-Rf
$(
TARGET_ROOT
)
/debug/
$(
SRC_LIB
)
$(
LIBDIR
)
/
$(
DEST_LIB
)
...
...
@@ -45,6 +53,14 @@ install_release:
test_integration
:
$(
MAKE
)
build_integration
&&
$(
MAKE
)
run_integration
# Template: make test_file TEST_FILE_PREFIX=
test_file
:
$(
MAKE
)
build_integration
&&
$(
MAKE
)
run_integration_file
# Template: make test_pattern GROUP= PATTERN=
test_pattern
:
$(
MAKE
)
build_integration
&&
$(
MAKE
)
run_integration_pattern
clean_integration
:
$(
MAKE
)
stop
rm
-rf
$(
TEST_APP
)
/.rocks
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment