Skip to content

Commit d3b58df

Browse files
committed
Remove temporary files from accuracy tests.
1 parent fbd6827 commit d3b58df

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

modules/cudacodec/test/test_video.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,7 @@ CUDA_TEST_P(TransCode, H264ToH265)
482482
ASSERT_FALSE(frame.empty());
483483
}
484484
}
485+
ASSERT_EQ(0, remove(outputFile.c_str()));
485486
}
486487

487488
INSTANTIATE_TEST_CASE_P(CUDA_Codec, TransCode, ALL_DEVICES);
@@ -562,6 +563,7 @@ CUDA_TEST_P(Write, Writer)
562563
ASSERT_FALSE(frame.empty());
563564
}
564565
}
566+
ASSERT_EQ(0, remove(outputFile.c_str()));
565567
}
566568

567569
#define DEVICE_SRC true, false
@@ -643,6 +645,7 @@ CUDA_TEST_P(EncoderParams, Writer)
643645
}
644646
}
645647
}
648+
ASSERT_EQ(0, remove(outputFile.c_str()));
646649
}
647650

648651
INSTANTIATE_TEST_CASE_P(CUDA_Codec, EncoderParams, ALL_DEVICES);

0 commit comments

Comments
 (0)