media/gpu/test/VideoTestEnvironment: Returns test_suite_name+test_name by GetTestName()
This CL changes GetTestName() to return test_suite_name+test_name, which originally returns test_name. This change mainly affects the directory where frames and images are saved. For example, the saved directory in video_decode_accelerator_tests is changed to $(CUR_DIR)/VideoDecoderTest/FlushAtEndOfStream from $(CUR_DIR)/FlushAtEndOfStream. The saved directory in image_processor_test is changed to $(CUR_DIR)/PixelFormatConversionToNV12/ConvertOneTime_MemToMem/0 from $(CUR_DIR)/ConvertOneTime_MemToMem/0. This is useful for a parameterised test like image_processor_test. For instance, before this change, image_processor_test saves the processed images in PixelFormatConversionToNV12 and NV12Scaleing to $(CUR_DIR)/ConvertOneTime_MemToMem/0. Bug: 917951 Test: video_decode_accelerator_tests --output_frames Test: video_decode_accelerator_perf_tests Test: image_processor_test --save_images Test: tast run video.DecodeAccelVDH264 Test: tast run video.DecodeAccelVDPerfH2641080P30FPS Change-Id: Ife8412603dc95ca24e87960523d249abc6bcacfd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1778104Reviewed-by:David Staessens <dstaessens@chromium.org> Commit-Queue: Hirokazu Honda <hiroh@chromium.org> Cr-Commit-Position: refs/heads/master@{#694647}
Showing
Please register or sign in to comment