mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
If the user passes a path to the package tests, don't auto add them
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
d891eedbd1
commit
0e3f5ee41a
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue