1
0
Fork 0
gimp/plug-ins/script-fu/scripts/test
Daniel Baumann 554424e00a
Adding upstream version 3.0.4.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-23 00:14:50 +02:00
..
always-fail Adding upstream version 3.0.4. 2025-06-23 00:14:50 +02:00
call-always-fail Adding upstream version 3.0.4. 2025-06-23 00:14:50 +02:00
register-fail Adding upstream version 3.0.4. 2025-06-23 00:14:50 +02:00
resource-class Adding upstream version 3.0.4. 2025-06-23 00:14:50 +02:00
test-install-fail Adding upstream version 3.0.4. 2025-06-23 00:14:50 +02:00
test-quit Adding upstream version 3.0.4. 2025-06-23 00:14:50 +02:00
test-run-error-PDB Adding upstream version 3.0.4. 2025-06-23 00:14:50 +02:00
test0 Adding upstream version 3.0.4. 2025-06-23 00:14:50 +02:00
test1 Adding upstream version 3.0.4. 2025-06-23 00:14:50 +02:00
test4 Adding upstream version 3.0.4. 2025-06-23 00:14:50 +02:00
test5 Adding upstream version 3.0.4. 2025-06-23 00:14:50 +02:00
test6 Adding upstream version 3.0.4. 2025-06-23 00:14:50 +02:00
test7 Adding upstream version 3.0.4. 2025-06-23 00:14:50 +02:00
test8 Adding upstream version 3.0.4. 2025-06-23 00:14:50 +02:00
clothify-v2.scm Adding upstream version 3.0.4. 2025-06-23 00:14:50 +02:00
clothify-v3.scm Adding upstream version 3.0.4. 2025-06-23 00:14:50 +02:00
contactsheet.scm Adding upstream version 3.0.4. 2025-06-23 00:14:50 +02:00
meson.build Adding upstream version 3.0.4. 2025-06-23 00:14:50 +02:00
README Adding upstream version 3.0.4. 2025-06-23 00:14:50 +02:00
test-bytes.scm Adding upstream version 3.0.4. 2025-06-23 00:14:50 +02:00
test-display.scm Adding upstream version 3.0.4. 2025-06-23 00:14:50 +02:00
test-sphere.scm Adding upstream version 3.0.4. 2025-06-23 00:14:50 +02:00
test-v3.scm Adding upstream version 3.0.4. 2025-06-23 00:14:50 +02:00
ts-helloworld.scm Adding upstream version 3.0.4. 2025-06-23 00:14:50 +02:00

Scripts to test various cases for ScriptFu subsystem.

Not usually installed.

Should not be localized i18n : for developers only.

## Install

To use, install them:

1. Old style scripts: copy to /scripts.

2. New style independently interpreted scripts:
copy a dir containing the test script into /plugins
and ensure the .scm files have execute permission.

Old style scripts test and are interpreted by extension-script-fu.
When a script crashes extension-script-fu, you must restart Gimp.

New style scripts are interpreted in a separate process
running binary script-fu-interpreter-3.0.

## Invoke

Any installed script can be tested in the SF Console
by just calling it from the PDB: "(script-fu-test-foo)"
since they are PDB procedures.

Scripts that have menu items can be tested from the Gimp GUI.

Any test script can be called by another script.

## Testing framework

test9.scm has a built-in testing framework.

FUTURE: extract the framework to a Scheme extension
that is in the Gimp repo,
that other scripts can load and use.