summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/meson.build14
1 files changed, 6 insertions, 8 deletions
diff --git a/tests/meson.build b/tests/meson.build
index 4cb1cb1..91fc76f 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -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()