Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .azure-pipelines/test_plan.py
Original file line number Diff line number Diff line change
Expand Up @@ -823,8 +823,10 @@ def poll(self, test_plan_id, interval=60, timeout=-1, expected_state="", expecte

scripts = args.scripts
specific_param = []
# For KVM PR test, get test modules from pr_test_scripts.yaml, otherwise use args.scripts
if args.platform == "kvm":
# For PR test, if specify test modules explicitly, use them to run PR test.
# Otherwise, get test modules from pr_test_scripts.yaml.
explicitly_specify_test_module = args.features or args.scripts
if args.test_plan_type == "PR" and (not explicitly_specify_test_module):
args.test_set = args.test_set if args.test_set else args.topology
scripts, specific_param = get_test_scripts(args.test_set)
scripts = ",".join(scripts)
Expand Down