Skip to content

Explicitly skip test_ser for unmatched asic_type#1972

Merged
yxieca merged 1 commit intosonic-net:masterfrom
wangxin:platform-skip-non-brcm
Jul 29, 2020
Merged

Explicitly skip test_ser for unmatched asic_type#1972
yxieca merged 1 commit intosonic-net:masterfrom
wangxin:platform-skip-non-brcm

Conversation

@wangxin
Copy link
Copy Markdown
Collaborator

@wangxin wangxin commented Jul 27, 2020

Description of PR

Summary:
Fixes # (issue)

The Broadcom specific test_ser.py script just logs a message and exit when asic_type is not broadcom. When this test script is executed on other platforms, the script will be marked as passed. This doesn't make sense.

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Approach

What is the motivation for this PR?

When the Broadcom platform specific test script test_ser.py is executed on other platforms, the script will be marked as passed. This does not make sense.

How did you do it?

Explicitly skip the Broadcom specific tests on other platforms.

How did you verify/test it?

Test run the script on non Broadcom platforms, the test is marked as skipped.

Any platform specific information?

The updated script is Broadcom platform specific.

Supported testbed topology if it's a new test case?

Documentation

Signed-off-by: Xin Wang <xiwang5@microsoft.com>
@wangxin wangxin requested a review from a team July 27, 2020 05:58
@wangxin
Copy link
Copy Markdown
Collaborator Author

wangxin commented Jul 29, 2020

retest this please

@yxieca yxieca merged commit 5529381 into sonic-net:master Jul 29, 2020
@wangxin wangxin deleted the platform-skip-non-brcm branch September 24, 2020 02:33
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
c48c363 Revert "[sonic-package-manager] support sonic-cli-gen and packages with YANG model (sonic-net#1650)" (sonic-net#1972)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants