You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
f3d_test(NAMETestStatefileLoadOverrideDATAcow.vtpNO_RENDERNO_BASELINEARGS--load-statefile=${F3D_SOURCE_DIR}/testing/statefiles/test_statefile.json-Drender.background.color=1,0,0REGEXP"'render.background.color' = '1,0,0' from CLI options")
503
503
# A missing statefile is skipped with a warning instead of failing
504
504
f3d_test(NAMETestStatefileLoadMissingDATAcow.vtpNO_RENDERNO_BASELINEARGS--load-statefile=${CMAKE_BINARY_DIR}/Testing/Temporary/does_not_exist.jsonREGEXP"Could not open statefile, skipping")
505
+
# A file that exists but is not a valid statefile is reported and skipped
506
+
f3d_test(NAMETestStatefileLoadInvalidContentDATAcow.vtpNO_RENDERNO_BASELINEARGS--load-statefile=${F3D_SOURCE_DIR}/testing/data/cow.vtpREGEXP"Could not parse statefile content")
# Missing parent directories of the statefile path are created
@@ -528,6 +530,10 @@ f3d_test(NAME TestCommandScriptLoadStatefileOverridesTweak SCRIPT DATA cow.vtp W
528
530
f3d_test(NAMETestCommandScriptLoadStatefileMissingSCRIPTDATAcow.vtpWORKING_DIR${F3D_SOURCE_DIR}/testingARGS--verboseREGEXP"Could not open statefile, skipping"NO_BASELINE)
529
531
# load_statefile with an out of range file group index falls back to the first group
# save_statefile to a path that cannot be written (a directory) reports the error
536
+
f3d_test(NAMETestCommandScriptSaveStatefileErrorSCRIPTDATAcow.vtpWORKING_DIR${F3D_SOURCE_DIR}/testingARGS--verboseREGEXP"Could not save statefile"NO_BASELINE)
531
537
532
538
# The clipboard round-trip needs a real onscreen window for the X11 selection to work, it fails with
533
539
# the offscreen backends (egl, osmesa), so only run it where an onscreen window is available, ie on
0 commit comments