repo.or.cz
/
yt-dlp.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Release 2023.11.16
[yt-dlp.git]
/
devscripts
/
run_tests.bat
blob
190d23918ce9ef4e212258f4c4f6842903b2b2bb
1
@setlocal
2
@echo off
3
cd /d %~dp0..
4
5
if ["%~1"]==[""] (
6
set "test_set="test""
7
) else if ["%~1"]==["core"] (
8
set "test_set="-m not download""
9
) else if ["%~1"]==["download"] (
10
set "test_set="-m "download""
11
) else (
12
echo.Invalid test type "%~1". Use "core" ^| "download"
13
exit /b 1
14
)
15
16
set PYTHONWARNINGS=error
17
pytest %test_set%