Skip to content

Commit

Permalink
Replaces image-test.sh with image-test.py
Browse files Browse the repository at this point in the history
  • Loading branch information
xsdg committed Jul 10, 2024
1 parent 7cfbaa2 commit 1b3e220
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 88 deletions.
2 changes: 1 addition & 1 deletion TESTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ meson setup -C build -D unit_test=enabled
This tests that Geeqie can successfully open and provide metadata info about a
library of images of different types.

See `scripts/image-test.sh` for more details.
See `scripts/image-test.py` for more details.

### Lua tests

Expand Down
4 changes: 2 additions & 2 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ option = get_option('unit_tests')
if option.enabled()
if xvfb.found()
get_test_images_sh = find_program('get-test-images.sh', dirs : scriptsdir, required : true)
image_test_sh = find_program('image-test.sh', dirs : scriptsdir, required : true)
image_test_py = find_program('image-test.py', dirs : scriptsdir, required : true)

images_dir = join_paths(meson.current_build_dir(), 'test-images.p')

Expand All @@ -716,7 +716,7 @@ if option.enabled()
image_name = path_array[path_array.length() - 1]

should_fail = image_name.startswith('fail')
test_cmd = [image_test_sh.full_path(), geeqie_exe.full_path(), image]
test_cmd = [image_test_py.full_path(), geeqie_exe.full_path(), image]
test('Image_ ' + image_name, isolate_test_sh, args: test_cmd, should_fail : should_fail, timeout: 100, suite: ['functional', 'image'])
endforeach
summary({'Image tests' : ['Test runs:', true]}, section : 'Testing', bool_yn : true)
Expand Down
85 changes: 0 additions & 85 deletions scripts/image-test.sh

This file was deleted.

0 comments on commit 1b3e220

Please sign in to comment.