加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build_run.bat 1.28 KB
一键复制 编辑 原始数据 按行查看 历史
chenguodong 提交于 2022-06-15 23:00 . run one video testcase.
@echo off
cmake -B cmake-build-debug .
if not %errorlevel%==0 (
echo.
echo Error: cmake configure error.
exit /b 1
)
cmake --build cmake-build-debug --target histreamer_st
if not %errorlevel%==0 (
echo.
echo Error: compile error.
exit /b 1
)
@rem cmake-build-debug\bin\histreamer_st.exe --filter-tags "video_play_fast"
cmake-build-debug\bin\histreamer_st.exe --filter-testcase "Test single player play url video, and finished automatically(std::string(RESOURCE_DIR \"/MP4/9_AVC_1280x720_59.940fps_AAC_128Kbps_2channels.mp4\"))"
if not %errorlevel%==0 (
echo.
echo Error: test video play failed.
exit /b 1
)
cmake-build-debug\bin\histreamer_st.exe --filter-tags "audio_play_fast"
if not %errorlevel%==0 (
echo.
echo Error: test audio play failed.
exit /b 1
)
cmake-build-debug\bin\histreamer_st.exe --filter-tags "http"
if not %errorlevel%==0 (
echo.
echo Error: test http play failed.
exit /b 1
)
cmake-build-debug\bin\histreamer_st.exe --filter-tags "audio_record_fast"
if not %errorlevel%==0 (
echo.
echo Error: test audio record failed.
exit /b 1
)
@rem cmake-build-debug\bin\histreamer_st.exe --filter-tags "slow"
if not %errorlevel%==0 (
echo.
echo Error: run slow tests failed.
exit /b 1
)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化