Skip to content

[MSVC] MuseScore failed to run 3 tests under on release and debug configuration #33489

@QuellaZhang

Description

@QuellaZhang

Issue type

Choose option...

Description with steps to reproduce

Hi All,

MuseScore failed to run 3 tests on release and debug configuration with MSVC on windows. It can be reproduced on e8df477 commit on main branch. Could you please help look at this issue?

Failed tests:

	  1 - muse_global_tests (Failed)
	 22 - engraving_tests (Failed)
	 31 - iex_musicxml_tests (Failed)

Repro steps:

  1. git clone https://github.com/musescore/MuseScore.git C:\gitP\musescore\MuseScore
  2. cd C:\gitP\musescore\MuseScore
  3. mkdir build && cd build_amd64
  4. download "https://s3.amazonaws.com/utils.musescore.org/dependencies.7z to C:\gitP\musescore\MuseScore\dependencies
  5. pip install aqtinstall
  6. python -m aqt install-qt windows desktop 6.10.2 win64_msvc2022_64 --modules qtshadertools qt5compat qtnetworkauth qtscxml --outputdir C:\Qt
  7. cmake -G "Visual Studio 17 2022" -A x64 -DCMAKE_SYSTEM_VERSION=10.0.26100.0 -DBUILD_UNIT_TESTS=ON -DMUE_COMPILE_QT5_COMPAT=ON -DCMAKE_PREFIX_PATH="C:\Qt\6.10.2\msvc2022_64" ..
  8. msbuild /m /p:Platform=x64 /p:Configuration=Release MuseScore.sln /t:Rebuild
  9. set PATH=C:\Program Files\Git\usr\bin;%PATH%
  10. set PATH=C:\Qt\6.10.2\msvc2022_64\bin;%PATH%
  11. set PATH=C:\gitP\musescore\MuseScore\dependencies\libx64;%PATH%
  12. set QT_PLUGIN_PATH=C:\Qt\6.10.2\msvc2022_64\plugins
  13. ctest --build-config Release --output-on-failure -R "muse_global_tests|engraving_tests|iex_musicxml_tests"

Supporting files, videos and screenshots

Test log: Test (2).log

Some error infos:

Image Image

In which versions of MuseScore Studio is this issue present?

Main branch latest version

Regression

No.

Operating system

Windows 11

Additional context

No response

Checklist

  • This report follows the guidelines for reporting bugs and issues
  • I have verified that this issue has not been logged before, by searching the issue tracker for similar issues
  • I have attached all requested files and information to this report
  • I have attempted to identify the root problem as concisely as possible, and have used minimal reproducible examples where possible

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions