mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-10-01 03:43:46 +08:00
UI snapshot tool (#28356)
* UI: snapshot testing tool * gitignore * cleanup * remove prime type arg * rename * add script * commit snapshots * use base setup * updates * always run base * echo * use imagemagick * test_snapshots * fixes * update * set language * revert * default arg * just remove translations * formatting * output arg * improved help * fix assets * change dir back before saving snapshot * unused imports * simpler * add default to description * use uiUpdate signal old-commit-hash: 15ac8c041b638e8989e1391387530c7195ef7403
This commit is contained in:
@@ -64,6 +64,7 @@ qt_env.Program("_ui", qt_src + [asset_obj], LIBS=qt_libs)
|
||||
if GetOption('test'):
|
||||
qt_src.remove("main.cc") # replaced by test_runner
|
||||
qt_env.Program('tests/test_translations', [asset_obj, 'tests/test_runner.cc', 'tests/test_translations.cc'] + qt_src, LIBS=qt_libs)
|
||||
qt_env.Program('tests/ui_snapshot', [asset_obj, "tests/ui_snapshot.cc"] + qt_src, LIBS=qt_libs)
|
||||
|
||||
|
||||
# build translation files
|
||||
|
||||
Reference in New Issue
Block a user