scripts: west_commands: skip bossac tests unless on linux
That's the only platform the tool is available. Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
This commit is contained in:
parent
88f36bb796
commit
1c80d79fdd
1 changed files with 6 additions and 0 deletions
|
@ -4,11 +4,17 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import argparse
|
||||
import platform
|
||||
from unittest.mock import patch, call
|
||||
|
||||
import pytest
|
||||
|
||||
from runners.bossac import BossacBinaryRunner
|
||||
from conftest import RC_KERNEL_BIN
|
||||
|
||||
if platform.system() != 'Linux':
|
||||
pytest.skip("skipping Linux-only bossac tests", allow_module_level=True)
|
||||
|
||||
TEST_BOSSAC_PORT = 'test-bossac-serial'
|
||||
TEST_OFFSET = 1234
|
||||
EXPECTED_COMMANDS = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue