From b7b0697b035c08e818204397a1c0cd19ba161eb4 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 26 Aug 2013 08:02:53 +0000 Subject: test_source_av: disable if avprobe/avconv are not available We may not have these available, so bail. --- test/test_source_av.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test_source_av.rb b/test/test_source_av.rb index 78015b3..1be1296 100644 --- a/test/test_source_av.rb +++ b/test/test_source_av.rb @@ -98,4 +98,5 @@ class TestSourceAv < Minitest::Unit::TestCase source = DTAS::Source::Av.new.try(tmp.path, '1') assert_equal 1000000.0, source.offset_us end -end +end unless `which avconv 2>/dev/null` =~ /avconv/ && + `which avprobe 2>/dev/null` =~ /avprobe/ -- cgit v1.2.3-24-ge0c7