Skip to content

Commit cdb79d8

Browse files
committed
Clear encoded file at end of test
The removeFile() function was previously added, but never used.
1 parent 462a77f commit cdb79d8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/src/test/shell/test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ def encodeVideoTest(test, output):
5757
raise Exception("Failed to encode file: " + test.filename)
5858

5959
pullFile(output)
60+
removeFile(output)
6061

6162
def encodeVideo(filename, output, mediaContainer, videoCodec, videoBitrateK, resolution, fps, audioCodec, audioSampleRate, audioBitrateK, audioChannel):
6263
args = []
@@ -138,6 +139,7 @@ def encodeAudioTest(test, output):
138139
raise Exception("Failed to encode file: " + test.filename)
139140

140141
pullFile(output)
142+
removeFile(output)
141143

142144
def encodeAudio(filename, output, mediaContainer, audioCodec, audioSampleRate, audioBitrateK, audioChannel):
143145
args = []

0 commit comments

Comments
 (0)