MuseScore icon indicating copy to clipboard operation
MuseScore copied to clipboard

MuseScore failed to run iex_guitarpro_tests on release and debug configuration with MSVC on windows

Open spacelg opened this issue 2 years ago • 1 comments

Hi All,

Environment: VS 2019 + Windows Server 2019

MuseScore failed to run iex_guitarpro_tests on release and debug configuration with MSVC on windows. It can be reproduced on 7cc2f3b commit on master branch. Could you please help look at this issue?

Repro steps:

  1. git clone https://github.com/musescore/MuseScore.git F:\gitP\musescore\MuseScore
  2. cd F:\gitP\musescore\MuseScore
  3. xcopy F:\gitP\musescore\dependencies F:\gitP\musescore\MuseScore\dependencies /k/r/e/i/s/c/h/f/y
  4. mkdir build_amd64 and cd F:\gitP\musescore\MuseScore\build_amd64
  5. set PATH=F:\tools\qt5\qt\5_15_2\msvc2019_64\bin;%PATH%
  6. cmake -G "Visual Studio 16 2019" -A x64 -DCMAKE_SYSTEM_VERSION=10.0.18362.0 -DBUILD_UNIT_TESTS=ON -DCMAKE_BUILD_TYPE=Release ..
  7. msbuild /m /p:Platform=x64 /p:Configuration=Release mscore.sln /t:Rebuild
  8. ctest --build-config Release --output-on-failure -R "iex_guitarpro_tests"

test.log

Error info: Start 7: iex_guitarpro_tests 7/8 Test #7: iex_guitarpro_tests ..............***Failed 13.22 sec [==========] Running 210 tests from 1 test suite. [----------] Global test environment set-up. [----------] 210 tests from GuitarPro_Tests [ RUN ] GuitarPro_Tests.gpTestIrrTuplet diff failed finishedF:\gitP\musescore\MuseScore\src\importexport\guitarpro\tests\guitarpro_tests.cpp(62): error: Value of: ScoreComp::saveCompareScore(score, fileName + u".mscx", GUITARPRO_DIR + fileName + u"-ref.mscx") Actual: false Expected: true [ FAILED ] GuitarPro_Tests.gpTestIrrTuplet (3178 ms) [ RUN ] GuitarPro_Tests.gpxTestIrrTuplet ... 210 FAILED TESTS YOU HAVE 3 DISABLED TESTS

Start 8: iex_midi_tests

8/8 Test #8: iex_midi_tests ................... Passed 0.60 sec

88% tests passed, 1 tests failed out of 8

Total Test time (real) = 17.11 sec

The following tests FAILED: 7 - iex_guitarpro_tests (Failed) Errors while running CTest

spacelg avatar Sep 19 '22 02:09 spacelg

Maybe the problem is that the diff command can't be found? Do the engraving tests fail too?

cbjeukendrup avatar Sep 19 '22 10:09 cbjeukendrup

Closing due to inactivity

cbjeukendrup avatar Mar 04 '23 18:03 cbjeukendrup