Skip to content

vtest config for small screens #28096

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

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

mikekirin
Copy link
Contributor

Vtest config for small screens

@mikekirin mikekirin marked this pull request as draft May 20, 2025 19:02
@mikekirin mikekirin force-pushed the small-screens-vtest branch from aa36afd to 350cde0 Compare May 21, 2025 12:36
@@ -42,6 +42,10 @@ echo =======================

echo Generate reference pngs:
./vtest/vtest-generate-pngs.sh -o ./reference_pngs -m $REF_BIN
./vtest/vtest-generate-pngs.sh -o ./reference_pngs_small -m $REF_BIN -s ./vtest/scores_small -d 460 -S ./vtest/small.mss
#./vtest/vtest-generate-pngs.sh -o ./reference_pngs_gp_small -m $REF_BIN -s ./vtest/gp_small -d 460 -S ./vtest/small.mss --gp-linked
Copy link
Contributor Author

@mikekirin mikekirin May 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one commented out because master branch can't read gp files now. I'll make another PR with these uncommented after this PR will be merged.

@mikekirin mikekirin marked this pull request as ready for review May 21, 2025 13:56
@mikekirin mikekirin requested a review from igorkorsukov May 21, 2025 13:56
./vtest/vtest-compare-pngs.sh --ci 1 -c ./current_pngs_small -r ./reference_pngs_small
# - name: Compare PNGs gp
# run: |
# ./vtest/vtest-compare-pngs.sh --ci 1 -c ./current_pngs_gp_small -r ./reference_pngs_gp_small
Copy link
Contributor Author

@mikekirin mikekirin May 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one commented out because master branch can't read gp files now. I'll make another PR with these uncommented after this PR will be merged.

CMakeLists.txt Outdated
@@ -69,6 +69,7 @@ option(MUE_BUILD_ENGRAVING_TESTS "Build engraving tests" ON)
option(MUE_BUILD_ENGRAVING_DEVTOOLS "Build engraving devtools" ON)
option(MUE_BUILD_ENGRAVING_PLAYBACK "Build engraving playback" ON)
option(MUE_BUILD_IMPORTEXPORT_MODULE "Build importexport module" ON)
option(MUE_BUILD_GP_MODULE "Build guitar pro module without import export module" OFF)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's confusing that the module is "disabled" but enabled :)
We need to think about how to do it better.

I see varians:

  1. Make it so that the gp module is regulated only by the MUE_BUILD_GP_MODULE option (MUE_BUILD_IMPORTEXPORT_MODULE does not affect it)
  2. In the future, remove the MUE_BUILD_IMPORTEXPORT_MODULE option completely, make separate options.
  3. Make these options not boolean, but string, so that there are three states: default, on, off

Copy link
Contributor Author

@mikekirin mikekirin May 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd go with the second variant. It will be very verbose though. From the other hand this verbosity would be much clear for the reader of the script than the string options which will be harder to setup imho.

Also I'd skip the first variant since updating the usage for all 12 modules won't take too much time.

Do you agree?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agree

@mikekirin mikekirin force-pushed the small-screens-vtest branch from 350cde0 to 5f9e8b5 Compare May 22, 2025 13:53
NOT MUE_BUILD_IMPEXP_GUITARPRO_MODULE AND
NOT MUE_BUILD_IMPEXP_MEI_MODULE)

set(MUE_BUILD_IMPEXP_VIDEOEXPORT_MODULE OFF)
endif()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this block is not needed

@mikekirin mikekirin force-pushed the small-screens-vtest branch from 5f9e8b5 to d9dabdb Compare May 22, 2025 15:28
@mikekirin mikekirin marked this pull request as draft May 26, 2025 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants