Skip to content

Commit 421db66

Browse files
committed
Make HTML tests die if video options sent
1 parent b455822 commit 421db66

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/meson.build

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,12 @@ dw_ui_test = executable(
201201
test('DW imgbuf mem test', dw_imgbuf_mem_test)
202202

203203
if get_option('html-tests').enabled()
204+
imgformats = ['png', 'svg']
205+
foreach imgformat : imgformats
206+
if not get_option(imgformat).enabled()
207+
error(f'Option \'@imgformat@\' is required for the HTML tests')
208+
endif
209+
endforeach
204210
html_tests = [
205211
'html/render/b-div.html',
206212
'html/render/div-100-percent-with-padding.html',

0 commit comments

Comments
 (0)