Fix android video_quality_loopback_test
NOTRY=True TBR=kjellander@webrtc.org BUG=webrtc:7855 Review-Url: https://codereview.webrtc.org/2968683002 Cr-Commit-Position: refs/heads/master@{#18854}
This commit is contained in:
@ -106,7 +106,7 @@ def main():
|
|||||||
download_tools_script = os.path.join(tools_dir, 'download_tools.py')
|
download_tools_script = os.path.join(tools_dir, 'download_tools.py')
|
||||||
_RunCommand([sys.executable, download_tools_script, toolchain_dir])
|
_RunCommand([sys.executable, download_tools_script, toolchain_dir])
|
||||||
|
|
||||||
testing_tools_dir = os.path.join(SRC_DIR, 'webrtc', 'tools', 'testing')
|
testing_tools_dir = os.path.join(SRC_DIR, 'webrtc', 'rtc_tools', 'testing')
|
||||||
|
|
||||||
# Download, extract and build AppRTC.
|
# Download, extract and build AppRTC.
|
||||||
setup_apprtc_script = os.path.join(testing_tools_dir, 'setup_apprtc.py')
|
setup_apprtc_script = os.path.join(testing_tools_dir, 'setup_apprtc.py')
|
||||||
@ -181,7 +181,7 @@ def main():
|
|||||||
ConvertVideo(reference_video, reference_video_yuv)
|
ConvertVideo(reference_video, reference_video_yuv)
|
||||||
|
|
||||||
# Run compare script.
|
# Run compare script.
|
||||||
compare_script = os.path.join(SRC_DIR, 'webrtc', 'tools',
|
compare_script = os.path.join(SRC_DIR, 'webrtc', 'rtc_tools',
|
||||||
'compare_videos.py')
|
'compare_videos.py')
|
||||||
zxing_path = os.path.join(toolchain_dir, 'linux', 'zxing')
|
zxing_path = os.path.join(toolchain_dir, 'linux', 'zxing')
|
||||||
|
|
||||||
|
|||||||
@ -408,7 +408,7 @@ def FlipAndCropRecordings(options, test_file_name, test_file_location,
|
|||||||
|
|
||||||
|
|
||||||
def CompareVideos(options, cropped_ref_file, cropped_test_file):
|
def CompareVideos(options, cropped_ref_file, cropped_test_file):
|
||||||
"""Runs the compare_video.py script from src/webrtc/rtc_tools using the file path.
|
"""Runs the compare_video.py script from webrtc/rtc_tools using the file path.
|
||||||
|
|
||||||
Uses the path from recording_result and writes the output to a file named
|
Uses the path from recording_result and writes the output to a file named
|
||||||
<options.app_name + '_' + CURRENT_TIME + '_result.txt> in the reference video
|
<options.app_name + '_' + CURRENT_TIME + '_result.txt> in the reference video
|
||||||
|
|||||||
Reference in New Issue
Block a user