Skip to content

Commit

Permalink
Merge 16d75fc into 22951e0
Browse files Browse the repository at this point in the history
  • Loading branch information
ochaplashkin committed Sep 14, 2023
2 parents 22951e0 + 16d75fc commit 085d667
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/luatest
10 changes: 5 additions & 5 deletions lib/luatest_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ def __init__(self, *args, **kwargs):
def execute(self, server):
"""Execute test by luatest command
Execute `luatest -c --verbose <name>_test.lua --output tap` command.
Disable capture mode. Provide a verbose output in the tap format.
Extend the command by `--pattern <pattern>` if the corresponding
option is provided.
Execute `luatest -c --no-clean --verbose <name>_test.lua --output tap`
command. Disable capture mode and deletion of the var directory. Provide
a verbose output in the tap format. Extend the command by
`--pattern <pattern>` if the corresponding option is provided.
"""
server.current_test = self
script = os.path.join(os.path.basename(server.testdir), self.name)
Expand All @@ -47,7 +47,7 @@ def execute(self, server):
# Add luatest as the script.
command.extend([server.luatest])
# Add luatest command-line options.
command.extend(['-c', '--verbose', script, '--output', 'tap'])
command.extend(['-c', '--no-clean', '--verbose', script, '--output', 'tap'])
if Options().args.pattern:
for p in Options().args.pattern:
command.extend(['--pattern', p])
Expand Down

0 comments on commit 085d667

Please sign in to comment.