diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 1452d9fb..01ba99ba 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -4,7 +4,7 @@ aux_source_directory(. TEST_SRC_LIST) foreach (TEST_SRC ${TEST_SRC_LIST}) if (NOT ENABLE_WEBRTC) # 暂时过滤掉依赖 WebRTC 的测试模块 - if ("${TEST_SRC}" MATCHES "test_rtcp_nack.cpp") + if ("${TEST_SRC}" MATCHES "test_rtcp_nack\.cpp") continue() endif () endif () diff --git a/tests/test_rtcp_nack.cpp b/tests/test_rtcp_nack.cpp index 982f9aa4..f3f8a6c2 100644 --- a/tests/test_rtcp_nack.cpp +++ b/tests/test_rtcp_nack.cpp @@ -10,8 +10,7 @@ #include #include "Util/logger.h" -#include "Rtcp/RtcpFCI.h" -#include "../webrtc/WebRtcTransport.h" +#include "../webrtc/Nack.h" using namespace std; using namespace toolkit; using namespace mediakit;