Skip to content

Commit

Permalink
scripts/gh_release.py: decrease pytest verbosity.
Browse files Browse the repository at this point in the history
Have removed -svv flags when running pytest.

Also fix potential non-installation of packages with -v.
  • Loading branch information
julian-smith-artifex-com committed Feb 17, 2024
1 parent 2bf1deb commit a917c84
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/gh_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,7 @@ def venv( command=None, packages=None, quick=False):
log(f'{quick=}: Not creating venv because directory already exists: {venv_name}')
command2 += 'true'
else:
quick = False
command2 += f'{sys.executable} -m venv{ssp} {venv_name}'
if platform.system() == 'Windows':
command2 += f' && {venv_name}\\Scripts\\activate'
Expand Down Expand Up @@ -471,15 +472,15 @@ def test( project, package, valgrind):
run(
f'{sys.executable} {project}/tests/run_compound.py'
f' valgrind --suppressions={project}/valgrind.supp --error-exitcode=100 --errors-for-leak-kinds=none --fullpath-after='
f' pytest -s -vv {project}/tests'
f' pytest {project}/tests'
,
env_extra=dict(
PYTHONMALLOC='malloc',
PYMUPDF_RUNNING_ON_VALGRIND='1',
),
)
else:
run(f'{sys.executable} {project}/tests/run_compound.py pytest -s {project}/tests')
run(f'{sys.executable} {project}/tests/run_compound.py pytest {project}/tests')


def pyodide_setup(clean=False):
Expand Down

0 comments on commit a917c84

Please sign in to comment.