ScriptFu: build: install test scripts on a release candidate
When version ends in "+git" Same as for python file loader tests.
This commit is contained in:
parent
de3cf104e3
commit
f11784b8b2
2 changed files with 85 additions and 85 deletions
|
|
@ -12,7 +12,7 @@ subdir('scripts')
|
|||
subdir('server')
|
||||
subdir('interpreter')
|
||||
subdir('console')
|
||||
if not stable or not release
|
||||
if not stable or not release or gimp_version.endswith('+git')
|
||||
subdir('test')
|
||||
endif
|
||||
|
||||
|
|
|
|||
|
|
@ -1,113 +1,113 @@
|
|||
|
||||
# Install ScriptFu testing framework and test scripts
|
||||
|
||||
if not stable
|
||||
test_framework_scripts = [
|
||||
'frameworks' / 'testing.scm',
|
||||
]
|
||||
# The parent meson.build does not subdir this
|
||||
# when testing framework should not be installed.
|
||||
|
||||
test_scripts = [
|
||||
# test binding to the PDB
|
||||
test_framework_scripts = [
|
||||
'frameworks' / 'testing.scm',
|
||||
]
|
||||
|
||||
'tests' / 'PDB' / 'image' / 'image-new.scm',
|
||||
'tests' / 'PDB' / 'image' / 'image-precision.scm',
|
||||
'tests' / 'PDB' / 'image' / 'image-indexed.scm',
|
||||
'tests' / 'PDB' / 'image' / 'image-grayscale.scm',
|
||||
'tests' / 'PDB' / 'image' / 'image-ops.scm',
|
||||
'tests' / 'PDB' / 'image' / 'image-layers.scm',
|
||||
'tests' / 'PDB' / 'image' / 'image-set-selected.scm',
|
||||
'tests' / 'PDB' / 'image' / 'image-mode.scm',
|
||||
'tests' / 'PDB' / 'image' / 'image-color-profile.scm',
|
||||
test_scripts = [
|
||||
# test binding to the PDB
|
||||
|
||||
'tests' / 'PDB' / 'paint' / 'paint.scm',
|
||||
'tests' / 'PDB' / 'paint' / 'paint-methods.scm',
|
||||
'tests' / 'PDB' / 'paint' / 'dynamics.scm',
|
||||
'tests' / 'PDB' / 'image' / 'image-new.scm',
|
||||
'tests' / 'PDB' / 'image' / 'image-precision.scm',
|
||||
'tests' / 'PDB' / 'image' / 'image-indexed.scm',
|
||||
'tests' / 'PDB' / 'image' / 'image-grayscale.scm',
|
||||
'tests' / 'PDB' / 'image' / 'image-ops.scm',
|
||||
'tests' / 'PDB' / 'image' / 'image-layers.scm',
|
||||
'tests' / 'PDB' / 'image' / 'image-set-selected.scm',
|
||||
'tests' / 'PDB' / 'image' / 'image-mode.scm',
|
||||
'tests' / 'PDB' / 'image' / 'image-color-profile.scm',
|
||||
|
||||
'tests' / 'PDB' / 'layer' / 'layer-new.scm',
|
||||
'tests' / 'PDB' / 'layer' / 'layer-ops.scm',
|
||||
'tests' / 'PDB' / 'layer' / 'layer-mask.scm',
|
||||
'tests' / 'PDB' / 'paint' / 'paint.scm',
|
||||
'tests' / 'PDB' / 'paint' / 'paint-methods.scm',
|
||||
'tests' / 'PDB' / 'paint' / 'dynamics.scm',
|
||||
|
||||
'tests' / 'PDB' / 'text-layer' / 'text-layer-new.scm',
|
||||
'tests' / 'PDB' / 'layer' / 'layer-new.scm',
|
||||
'tests' / 'PDB' / 'layer' / 'layer-ops.scm',
|
||||
'tests' / 'PDB' / 'layer' / 'layer-mask.scm',
|
||||
|
||||
'tests' / 'PDB' / 'item' / 'item.scm',
|
||||
'tests' / 'PDB' / 'item' / 'item-position.scm',
|
||||
'tests' / 'PDB' / 'item' / 'item-layer-group.scm',
|
||||
'tests' / 'PDB' / 'text-layer' / 'text-layer-new.scm',
|
||||
|
||||
'tests' / 'PDB' / 'drawable' / 'drawable.scm',
|
||||
'tests' / 'PDB' / 'drawable' / 'drawable-attributes.scm',
|
||||
'tests' / 'PDB' / 'drawable' / 'drawable-ops.scm',
|
||||
'tests' / 'PDB' / 'item' / 'item.scm',
|
||||
'tests' / 'PDB' / 'item' / 'item-position.scm',
|
||||
'tests' / 'PDB' / 'item' / 'item-layer-group.scm',
|
||||
|
||||
'tests' / 'PDB' / 'channel' / 'channel-new.scm',
|
||||
'tests' / 'PDB' / 'channel' / 'channel-attributes.scm',
|
||||
'tests' / 'PDB' / 'channel' / 'channel-ops.scm',
|
||||
'tests' / 'PDB' / 'drawable' / 'drawable.scm',
|
||||
'tests' / 'PDB' / 'drawable' / 'drawable-attributes.scm',
|
||||
'tests' / 'PDB' / 'drawable' / 'drawable-ops.scm',
|
||||
|
||||
'tests' / 'PDB' / 'color' / 'color.scm',
|
||||
'tests' / 'PDB' / 'channel' / 'channel-new.scm',
|
||||
'tests' / 'PDB' / 'channel' / 'channel-attributes.scm',
|
||||
'tests' / 'PDB' / 'channel' / 'channel-ops.scm',
|
||||
|
||||
'tests' / 'PDB' / 'vectors' / 'vectors-new.scm',
|
||||
'tests' / 'PDB' / 'vectors' / 'vectors-stroke.scm',
|
||||
'tests' / 'PDB' / 'color' / 'color.scm',
|
||||
|
||||
'tests' / 'PDB' / 'selection' / 'selection.scm',
|
||||
'tests' / 'PDB' / 'selection' / 'selection-from.scm',
|
||||
'tests' / 'PDB' / 'selection' / 'selection-by.scm',
|
||||
'tests' / 'PDB' / 'selection' / 'selection-by-shape.scm',
|
||||
'tests' / 'PDB' / 'vectors' / 'vectors-new.scm',
|
||||
'tests' / 'PDB' / 'vectors' / 'vectors-stroke.scm',
|
||||
|
||||
'tests' / 'PDB' / 'resource' / 'resource.scm',
|
||||
'tests' / 'PDB' / 'resource' / 'resource-ops.scm',
|
||||
'tests' / 'PDB' / 'resource' / 'brush.scm',
|
||||
'tests' / 'PDB' / 'resource' / 'palette.scm',
|
||||
'tests' / 'PDB' / 'selection' / 'selection.scm',
|
||||
'tests' / 'PDB' / 'selection' / 'selection-from.scm',
|
||||
'tests' / 'PDB' / 'selection' / 'selection-by.scm',
|
||||
'tests' / 'PDB' / 'selection' / 'selection-by-shape.scm',
|
||||
|
||||
'tests' / 'PDB' / 'context' / 'context-get-set.scm',
|
||||
'tests' / 'PDB' / 'context' / 'context-resource.scm',
|
||||
'tests' / 'PDB' / 'context' / 'context-stack.scm',
|
||||
'tests' / 'PDB' / 'resource' / 'resource.scm',
|
||||
'tests' / 'PDB' / 'resource' / 'resource-ops.scm',
|
||||
'tests' / 'PDB' / 'resource' / 'brush.scm',
|
||||
'tests' / 'PDB' / 'resource' / 'palette.scm',
|
||||
|
||||
'tests' / 'PDB' / 'display' / 'display.scm',
|
||||
'tests' / 'PDB' / 'context' / 'context-get-set.scm',
|
||||
'tests' / 'PDB' / 'context' / 'context-resource.scm',
|
||||
'tests' / 'PDB' / 'context' / 'context-stack.scm',
|
||||
|
||||
'tests' / 'PDB' / 'edit' / 'buffer.scm',
|
||||
'tests' / 'PDB' / 'edit' / 'edit.scm',
|
||||
'tests' / 'PDB' / 'edit' / 'edit-multi-layer.scm',
|
||||
'tests' / 'PDB' / 'display' / 'display.scm',
|
||||
|
||||
'tests' / 'PDB' / 'gimp' / 'gimp.scm',
|
||||
'tests' / 'PDB' / 'gimp' / 'PDB.scm',
|
||||
'tests' / 'PDB' / 'gimp' / 'refresh.scm',
|
||||
'tests' / 'PDB' / 'gimp' / 'procedures.scm',
|
||||
'tests' / 'PDB' / 'edit' / 'buffer.scm',
|
||||
'tests' / 'PDB' / 'edit' / 'edit.scm',
|
||||
'tests' / 'PDB' / 'edit' / 'edit-multi-layer.scm',
|
||||
|
||||
# uncategorized tests
|
||||
'tests' / 'PDB' / 'misc.scm',
|
||||
'tests' / 'PDB' / 'enums.scm',
|
||||
'tests' / 'PDB' / 'bind-args.scm',
|
||||
'tests' / 'PDB' / 'pixel.scm',
|
||||
'tests' / 'PDB' / 'gimp' / 'gimp.scm',
|
||||
'tests' / 'PDB' / 'gimp' / 'PDB.scm',
|
||||
'tests' / 'PDB' / 'gimp' / 'refresh.scm',
|
||||
'tests' / 'PDB' / 'gimp' / 'procedures.scm',
|
||||
|
||||
# comprehensive, total test
|
||||
'tests' / 'PDB' / 'pdb.scm',
|
||||
# uncategorized tests
|
||||
'tests' / 'PDB' / 'misc.scm',
|
||||
'tests' / 'PDB' / 'enums.scm',
|
||||
'tests' / 'PDB' / 'bind-args.scm',
|
||||
'tests' / 'PDB' / 'pixel.scm',
|
||||
|
||||
# test TinyScheme embedded interpreter
|
||||
# comprehensive, total test
|
||||
'tests' / 'PDB' / 'pdb.scm',
|
||||
|
||||
'tests' / 'TS' / 'sharp-expr.scm',
|
||||
'tests' / 'TS' / 'sharp-expr-char.scm',
|
||||
'tests' / 'TS' / 'sharp-expr-unichar.scm',
|
||||
'tests' / 'TS' / 'unichar.scm',
|
||||
'tests' / 'TS' / 'cond-expand.scm',
|
||||
'tests' / 'TS' / 'atom2string.scm',
|
||||
'tests' / 'TS' / 'integer2char.scm',
|
||||
'tests' / 'TS' / 'string-escape.scm',
|
||||
'tests' / 'TS' / 'file-port.scm',
|
||||
'tests' / 'TS' / 'string-port-input.scm',
|
||||
'tests' / 'TS' / 'string-port-output.scm',
|
||||
# WIP 'tests' / 'TS' / 'string-port-unichar.scm',
|
||||
'tests' / 'TS' / 'testing.scm',
|
||||
'tests' / 'TS' / 'vector.scm',
|
||||
'tests' / 'TS' / 'no-memory.scm',
|
||||
'tests' / 'TS' / 'numeric.scm',
|
||||
# comprehensive, total test
|
||||
'tests' / 'TS' / 'tinyscheme.scm',
|
||||
# test TinyScheme embedded interpreter
|
||||
|
||||
# test PDB procedures that are plugins themselves
|
||||
'tests' / 'TS' / 'sharp-expr.scm',
|
||||
'tests' / 'TS' / 'sharp-expr-char.scm',
|
||||
'tests' / 'TS' / 'sharp-expr-unichar.scm',
|
||||
'tests' / 'TS' / 'unichar.scm',
|
||||
'tests' / 'TS' / 'cond-expand.scm',
|
||||
'tests' / 'TS' / 'atom2string.scm',
|
||||
'tests' / 'TS' / 'integer2char.scm',
|
||||
'tests' / 'TS' / 'string-escape.scm',
|
||||
'tests' / 'TS' / 'file-port.scm',
|
||||
'tests' / 'TS' / 'string-port-input.scm',
|
||||
'tests' / 'TS' / 'string-port-output.scm',
|
||||
# WIP 'tests' / 'TS' / 'string-port-unichar.scm',
|
||||
'tests' / 'TS' / 'testing.scm',
|
||||
'tests' / 'TS' / 'vector.scm',
|
||||
'tests' / 'TS' / 'no-memory.scm',
|
||||
'tests' / 'TS' / 'numeric.scm',
|
||||
# comprehensive, total test
|
||||
'tests' / 'TS' / 'tinyscheme.scm',
|
||||
|
||||
'tests' / 'Plugins' / 'gegl.scm',
|
||||
'tests' / 'Plugins' / 'noninteractive.scm',
|
||||
]
|
||||
# test PDB procedures that are plugins themselves
|
||||
|
||||
endif
|
||||
'tests' / 'Plugins' / 'gegl.scm',
|
||||
'tests' / 'Plugins' / 'noninteractive.scm',
|
||||
]
|
||||
|
||||
# Install test framework to shared /scripts
|
||||
# Assert: SFConsole, SFExtension, and standalong SFInterpreter will read them.
|
||||
|
|
|
|||
Loading…
Reference in a new issue