Allow overwrite temp data in ffmpeg test (#3263)
Summary:
When `TORCHAUDIO_TEST_TEMP_DIR` is set,
all the unit test temporary data are stored in the given directory.
Running unit tests multiple times reuses the
directory and the temporary files from the
previous test runs are found there.
FFmpeg save test writes reference data to the
temporary directory, but it is not given the
overwrite flag ("-y"), so it fails in such cases.
This commit fixes that.
Pull Request resolved: https://github.com/pytorch/audio/pull/3263
Reviewed By: hwangjeff
Differential Revision: D44859003
Pulled By: mthrok
fbshipit-source-id: 2db92fbdec1c015455f3779e10a18f7f1146166b
Showing
Please register or sign in to comment