about summary refs log tree commit homepage
path: root/test
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2013-08-26 08:02:53 +0000
committerEric Wong <normalperson@yhbt.net>2013-08-26 08:07:11 +0000
commitb7b0697b035c08e818204397a1c0cd19ba161eb4 (patch)
tree10eceb09839b7b93852fc50b9fca7b48a17c48d0 /test
parentb975f4917639a43c76bec998e2c419f8b8be4291 (diff)
downloaddtas-b7b0697b035c08e818204397a1c0cd19ba161eb4.tar.gz
We may not have these available, so bail.
Diffstat (limited to 'test')
-rw-r--r--test/test_source_av.rb3
1 files changed, 2 insertions, 1 deletions
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/