From a945f344e04d2851cd675cca48182cca2e7d8a4e Mon Sep 17 00:00:00 2001 From: Jerome Jiang Date: Tue, 15 Jun 2021 14:55:29 -0700 Subject: [PATCH] Change the data path in svc rate control test Change-Id: Iba58e2aa2578964b5c8b48ab0acbee9b44bcdada --- test/ratectrl_rtc_test.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/ratectrl_rtc_test.cc b/test/ratectrl_rtc_test.cc index 3a1c846..58bfac3 100644 --- a/test/ratectrl_rtc_test.cc +++ b/test/ratectrl_rtc_test.cc @@ -115,8 +115,7 @@ class RcInterfaceTest : public ::testing::Test { libvpx::VP9FrameParamsQpRTC frame_params; frame_params.frame_type = KEY_FRAME; std::ifstream svc_file; - svc_file.open(std::string(std::getenv("LIBVPX_TEST_DATA_PATH")) + - "/rc_interface_test_svc"); + svc_file.open(libvpx_test::GetDataPath() + "/rc_interface_test_svc"); ASSERT_TRUE(svc_file.good()); for (size_t i = 0; i < kNumFrame * rc_cfg_.ss_number_layers; i++) { svc_file >> frame_info; -- 2.7.4