tests: Enable testing on Windows

This commit is contained in:
Seungha Yang 2018-12-07 20:10:10 +09:00 committed by Tim-Philipp Müller
parent 1edb2c4242
commit 90e801e62d
2 changed files with 5 additions and 10 deletions

View file

@ -300,11 +300,9 @@ gst_base_dep = dependency('gstreamer-base-1.0', version : gst_req,
fallback : ['gstreamer', 'gst_base_dep']) fallback : ['gstreamer', 'gst_base_dep'])
gst_net_dep = dependency('gstreamer-net-1.0', version : gst_req, gst_net_dep = dependency('gstreamer-net-1.0', version : gst_req,
fallback : ['gstreamer', 'gst_net_dep']) fallback : ['gstreamer', 'gst_net_dep'])
if host_system != 'windows' gst_check_dep = dependency('gstreamer-check-1.0', version : gst_req,
gst_check_dep = dependency('gstreamer-check-1.0', version : gst_req, required : get_option('tests'),
required : get_option('tests'), fallback : ['gstreamer', 'gst_check_dep'])
fallback : ['gstreamer', 'gst_check_dep'])
endif
gst_controller_dep = dependency('gstreamer-controller-1.0', version : gst_req, gst_controller_dep = dependency('gstreamer-controller-1.0', version : gst_req,
fallback : ['gstreamer', 'gst_controller_dep']) fallback : ['gstreamer', 'gst_controller_dep'])

View file

@ -1,8 +1,5 @@
# FIXME: make check work on windows if not get_option('tests').disabled() and gst_check_dep.found()
if host_machine.system() != 'windows' subdir('check')
if not get_option('tests').disabled() and gst_check_dep.found()
subdir('check')
endif
endif endif
if not get_option('examples').disabled() if not get_option('examples').disabled()
subdir('examples') subdir('examples')