-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix #22622: Partial fix, export barlines subtypes #2499
Conversation
@@ -5102,6 +5158,7 @@ void ExportMusicXml::write(QIODevice* dev) | |||
spannerStart(this, strack, etrack, st, sstaff, seg); | |||
} | |||
|
|||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
whitespace damage
Travis failed and seemling for good reasons, in mtest for tst_midimapping. Either the tests need to get adjusted or the code, I'm not sure which |
Why? You could have fixed the issues instead? |
I'll fix them and reopen the PR |
OK, but you could also without closing the PR. |
Is there a lint code that I could just run on my program so that it fixes spaces etc according to the rules for MuseScore coding? |
I have a feeling there's a problem with the tests that are making the checks fail: https://travis-ci.org/musescore/MuseScore/jobs/118911893. I think travis has a wrong (old?) version of the reference files for which it is failing. It says some lines should be there and some not, which is not the case in the reference test files in the current repo. Can this be confirmed? |
See https://musescore.org/en/developers-handbook/musescore-coding-rules there's a settings file for QtCreator that takes care of the coding style |
Sorry, but the auto test on Travis is correct and your changes really do not pass: testMultiMeasureRest3 fails and testSystemBrackets1 segfaults. Please verify the auto test runs OK before submitting a pull request. |
The latest build on my travis (https://travis-ci.org/akhisud/MuseScore/jobs/119016323) gives this: 46/46 Test #41: tst_mxml_io ......................***Exception: Other 11.80 sec as the only problematic part. What does this mean? |
I guess that is the segvailt @lvinken talked about |
I don't think it is. I was able to resolve the segfault that it threw out. When there were failures it gave me the test case on which it failed, but it doesn't in this case |
The following tests FAILED: |
It could also be a temp glitch on Travis and pass on next attempt |
The first failing test is TestMxmlIO::systemBrackets1(), related to file testSystemBrackets1.xml in the mtest\musicxml\io folder. |
@AntonioBL, thanks, that was the problem after all! Could you tell me how you identified this particular file as giving the problem? I could only see tst_mxml_io. |
to be continued in #2503 |
@akhisud : well, I simply run the tests locally and inside gdb, just to be sure to catch the error, i.e (assuming a Linux OS): Ciao, |
@AntonioBL , Thanks for the tip and the debug :) |
This fixes it partially. It exports the barline styles correclty- i.e, double, dotted, dashed etc but doesn't handle staffs spanned.