Skip to content

Commit a917c84

Browse files
scripts/gh_release.py: decrease pytest verbosity.
Have removed -svv flags when running pytest. Also fix potential non-installation of packages with -v.
1 parent 2bf1deb commit a917c84

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

scripts/gh_release.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,7 @@ def venv( command=None, packages=None, quick=False):
434434
log(f'{quick=}: Not creating venv because directory already exists: {venv_name}')
435435
command2 += 'true'
436436
else:
437+
quick = False
437438
command2 += f'{sys.executable} -m venv{ssp} {venv_name}'
438439
if platform.system() == 'Windows':
439440
command2 += f' && {venv_name}\\Scripts\\activate'
@@ -471,15 +472,15 @@ def test( project, package, valgrind):
471472
run(
472473
f'{sys.executable} {project}/tests/run_compound.py'
473474
f' valgrind --suppressions={project}/valgrind.supp --error-exitcode=100 --errors-for-leak-kinds=none --fullpath-after='
474-
f' pytest -s -vv {project}/tests'
475+
f' pytest {project}/tests'
475476
,
476477
env_extra=dict(
477478
PYTHONMALLOC='malloc',
478479
PYMUPDF_RUNNING_ON_VALGRIND='1',
479480
),
480481
)
481482
else:
482-
run(f'{sys.executable} {project}/tests/run_compound.py pytest -s {project}/tests')
483+
run(f'{sys.executable} {project}/tests/run_compound.py pytest {project}/tests')
483484

484485

485486
def pyodide_setup(clean=False):

0 commit comments

Comments
 (0)