Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
dnicolodi committed Apr 2, 2023
1 parent 356938f commit 338ede8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,9 @@ def test_compiler(venv, package_detect_compiler, tmp_path):
# Windows. This effectively means running the compilation step
# with 'meson compile' instead of 'ninja' on Windows. Run this
# test only on CI where we know that MSVC is available.
with mesonpy._project({'setup-args': ['--vsenv', '--buildtype=plain']}) as project:
with mesonpy._project({'setup-args': ['--vsenv', '-Dbuildtype=plain'], 'compile-args': ['-v']}) as project:
wheel = project.wheel(tmp_path)
venv.pip('install', os.fspath(wheel))
compiler = venv.python('-c', 'import detect_compiler; print(detect_compiler.compiler())').strip()
assert compiler == 'msvc'
assert false

0 comments on commit 338ede8

Please sign in to comment.