Commit 08693dbe authored by Olivier Crête's avatar Olivier Crête

meson.build: Simplify shell based test checks

parent 549f9576
......@@ -85,14 +85,12 @@ if gst_dep.found()
endif
endif
if find_program('sh', required : false).found()
dd = find_program('dd', required : false)
diff = find_program('diff', required : false)
if dd.found() and diff.found()
test('test-pseudotcp-random', find_program('test-pseudotcp-random.sh'),
args: test_pseudotcp,
env: tenv)
endif
if find_program('sh', required : false).found() and \
find_program('dd', required : false).found() and \
find_program('diff', required : false).found()
test('test-pseudotcp-random', find_program('test-pseudotcp-random.sh'),
args: test_pseudotcp,
env: tenv)
endif
debugenv = environment()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment