mkvtoolnix/tests/test-531simple_chapter_extraction.rb
2018-11-16 09:51:30 +01:00

14 lines
425 B
Ruby
Executable File

#!/usr/bin/ruby -w
# T_531simple_chapter_extraction
describe "mkvextract / chapters in simple format including language selection"
%w{love phantom}.each do |file|
[ "", "--simple-language eng", "--simple-language spa" ].each do |language|
test "extract from #{file} #{language}" do
extract "data/chapters/#{file}.mkv", :args => "--simple #{language} #{tmp}", :mode => :chapters
hash_tmp
end
end
end