Skip to content

Commit 81692ce

Browse files
committed
meson: don't build tests unless testing
Meson 1.7.0+ respects build_by_default: false for tests.
1 parent 33cb5f8 commit 81692ce

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

meson.build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ if get_option('tests')
243243
'check_dicom',
244244
'tests/check_dicom.c',
245245
dependencies : [check, libdicom_dep],
246+
build_by_default : false,
246247
)
247248
test('check_dicom', check_dicom)
248249
endif

0 commit comments

Comments
 (0)