Skip to content

Commit a6a29d3

Browse files
committed
- [*] update tests
1 parent 8f11c16 commit a6a29d3

2 files changed

Lines changed: 32 additions & 2 deletions

File tree

test/ffcvt_test.txt

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,30 @@ ffcvt: to execute -
2525
Org Size: 0 MB
2626
New Size: 0 MB
2727
Saved: 0%
28+
] Skip symlink file: ./test2.avi
29+
30+
== Transcoding [1/1]: 'test1.avi'
31+
under .
32+
] -i ./test1.avi -c:a libopus -b:a 64k -c:v libvpx-vp9 -b:v 0 -crf 37 ./test1_.webm
33+
ffcvt: to execute -
34+
ffmpeg -i ./test1.avi -c:a libopus -b:a 64k -c:v libvpx-vp9 -b:v 0 -crf 37 ./test1_.webm
35+
36+
Org Size: 0 MB
37+
New Size: 0 MB
38+
Saved: 0%
39+
40+
== Transcoding [1/2]: 'test1.avi'
41+
under .
42+
] -i ./test1.avi -c:a libopus -b:a 64k -c:v libvpx-vp9 -b:v 0 -crf 37 ./test1_.webm
43+
ffcvt: to execute -
44+
ffmpeg -i ./test1.avi -c:a libopus -b:a 64k -c:v libvpx-vp9 -b:v 0 -crf 37 ./test1_.webm
45+
46+
== Transcoding [2/2]: 'test2.avi'
47+
under .
48+
] -i ./test2.avi -c:a libopus -b:a 64k -c:v libvpx-vp9 -b:v 0 -crf 37 ./test2_.webm
49+
ffcvt: to execute -
50+
ffmpeg -i ./test2.avi -c:a libopus -b:a 64k -c:v libvpx-vp9 -b:v 0 -crf 37 ./test2_.webm
51+
52+
Org Size: 0 MB
53+
New Size: 0 MB
54+
Saved: 0%

test/test-sym.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
#! /bin/sh
22

33
# Test -sym control
4-
../ffcvt -n -d . -debug 1 > /tmp/ffcvt_test.txt 2>&1
5-
../ffcvt -n -d . -debug 1 -sym >> /tmp/ffcvt_test.txt 2>&1
4+
../ffcvt -t x265-opus -n -d . > /tmp/ffcvt_test.txt 2>&1
5+
../ffcvt -t x265-opus -n -d . -sym >> /tmp/ffcvt_test.txt 2>&1
6+
7+
../ffcvt -n -d . >> /tmp/ffcvt_test.txt 2>&1
8+
../ffcvt -n -d . -sym >> /tmp/ffcvt_test.txt 2>&1
69

710
sed -i '/ [0-9.]*[mµ]*s$/d' /tmp/ffcvt_test.txt
811
diff -wU 1 /tmp/ffcvt_test.txt .

0 commit comments

Comments
 (0)