summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJerome Jiang <jianj@google.com>2021-06-15 14:55:29 -0700
committerJerome Jiang <jianj@google.com>2021-06-15 14:55:29 -0700
commita945f344e04d2851cd675cca48182cca2e7d8a4e (patch)
treedbb5ae29a49717423e13a25ac4afe8921b0bd166 /test
parent9a25e3169b59ca822558024423c5675790ffcf5b (diff)
downloadlibvpx-a945f344e04d2851cd675cca48182cca2e7d8a4e.tar
libvpx-a945f344e04d2851cd675cca48182cca2e7d8a4e.tar.gz
libvpx-a945f344e04d2851cd675cca48182cca2e7d8a4e.tar.bz2
libvpx-a945f344e04d2851cd675cca48182cca2e7d8a4e.zip
Change the data path in svc rate control test
Change-Id: Iba58e2aa2578964b5c8b48ab0acbee9b44bcdada
Diffstat (limited to 'test')
-rw-r--r--test/ratectrl_rtc_test.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/ratectrl_rtc_test.cc b/test/ratectrl_rtc_test.cc
index 3a1c8469e..58bfac3a7 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;