Skip to content

Commit

Permalink
If the user passes a path to the package tests, don't auto add them
Browse files Browse the repository at this point in the history
Signed-off-by: Pedro Algarvio <[email protected]>
  • Loading branch information
s0undt3ch committed Jan 16, 2024
1 parent d891eed commit 0e3f5ee
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -1886,6 +1886,11 @@ def ci_test_onedir_pkgs(session):
chunk = session.posargs.pop(0)

cmd_args = chunks[chunk]
for arg in session.posargs:
if arg.startswith("tests/pytests/pkg/"):
# The user is passing test paths
cmd_args.pop()
break

if IS_LINUX:
# Fetch the toolchain
Expand Down

0 comments on commit 0e3f5ee

Please sign in to comment.