Skip to content

Commit

Permalink
Make HTML tests die if video options sent
Browse files Browse the repository at this point in the history
  • Loading branch information
Kangie committed Nov 12, 2024
1 parent b455822 commit 421db66
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,12 @@ dw_ui_test = executable(
test('DW imgbuf mem test', dw_imgbuf_mem_test)

if get_option('html-tests').enabled()
imgformats = ['png', 'svg']
foreach imgformat : imgformats
if not get_option(imgformat).enabled()
error(f'Option \'@imgformat@\' is required for the HTML tests')
endif
endforeach
html_tests = [
'html/render/b-div.html',
'html/render/div-100-percent-with-padding.html',
Expand Down

0 comments on commit 421db66

Please sign in to comment.