Skip to content

Commit

Permalink
Add regression test for #4116 (#4120)
Browse files Browse the repository at this point in the history
  • Loading branch information
toots authored Sep 2, 2024
1 parent 59de576 commit 3e3ceaa
Show file tree
Hide file tree
Showing 4 changed files with 112 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/regression/GH4116.liq
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
s = single("./theora-test.mp4")

enc = %theora

tmp = file.temp("foo", "ogg")
on_cleanup({file.remove(tmp)})

output.file(fallible=true, enc, tmp, s)

thread.run(delay=2., test.pass)
17 changes: 17 additions & 0 deletions tests/regression/dune
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,20 @@
(pipe-stdout
(echo "print(123)")
(run %{run_test} "stdin script" liquidsoap --check "-"))))

(rule
(alias citest)
(package liquidsoap)
(target theora-test.mp4)
(action
(run
ffmpeg
-f
lavfi
-i
testsrc=duration=10:size=1280x720:rate=30
-f
lavfi
-i
"sine=frequency=1000:duration=10"
%{target})))
Loading

0 comments on commit 3e3ceaa

Please sign in to comment.