Skip to content

Commit

Permalink
adjust winmake.py
Browse files Browse the repository at this point in the history
  • Loading branch information
giampaolo committed Oct 21, 2024
1 parent afb09ee commit 4302ef3
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions scripts/internal/winmake.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,37 +339,46 @@ def test(args=""):

def test_authorizers():
build()
sh(f"{PYTHON} pyftpdlib\\test\\test_authorizers.py")
sh(
f"{PYTHON} -m pytest"
f" {PYTEST_ARGS} pyftpdlib\\test\\test_authorizers.py"
)


def test_filesystems():
build()
sh(f"{PYTHON} pyftpdlib\\test\\test_filesystems.py")
print(
f"{PYTHON} -m pytest"
f" {PYTEST_ARGS} pyftpdlib\\test\\test_filesystems.py"
)


def test_functional():
build()
sh(f"{PYTHON} pyftpdlib\\test\\test_functional.py")
sh(f"{PYTHON} -m pytest {PYTEST_ARGS} pyftpdlib\\test\\test_functional.py")


def test_functional_ssl():
build()
sh(f"{PYTHON} pyftpdlib\\test\\test_functional_ssl.py")
sh(
f"{PYTHON} -m pytest"
f" {PYTEST_ARGS} pyftpdlib\\test\\test_functional_ssl.py"
)


def test_ioloop():
build()
sh(f"{PYTHON} pyftpdlib\\test\\test_ioloop.py")
sh(f"{PYTHON} -m pytest {PYTEST_ARGS} pyftpdlib\\test\\test_ioloop.py")


def test_cli():
build()
sh(f"{PYTHON} pyftpdlib\\test\\test_cli.py")
sh(f"{PYTHON} -m pytest {PYTEST_ARGS} pyftpdlib\\test\\test_cli.py")


def test_servers():
build()
sh(f"{PYTHON} pyftpdlib\\test\\test_servers.py")
sh(f"{PYTHON} -m pytest {PYTEST_ARGS} pyftpdlib\\test\\test_servers.py")


def coverage():
Expand Down

0 comments on commit 4302ef3

Please sign in to comment.