Skip to content

Commit fec3a5d

Browse files
committed
skip serial test on appveyor
same
1 parent 3cc24e2 commit fec3a5d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Diff for: appveyor.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,5 @@ test_script:
4545
- pytest test
4646

4747
# uncomment to debug builds
48-
on_finish:
49-
- ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
48+
# on_finish:
49+
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))

Diff for: test/test_main.py

+2
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ def test_command_lib_search(run_command):
6262
assert number_of_libs == number_of_libs_from_json
6363

6464

65+
@pytest.mark.skipif(os.getenv('APPVEYOR'), reason="Appveyor VMs have no serial ports")
6566
def test_command_board_list(run_command):
6667
result = run_command('core update-index')
6768
assert result.ok
@@ -75,6 +76,7 @@ def test_command_board_list(run_command):
7576
assert 'protocol_label' in port
7677

7778

79+
@pytest.mark.skipif(os.getenv('APPVEYOR'), reason="Appveyor VMs have no serial ports")
7880
def test_command_board_listall(run_command):
7981
result = run_command('board listall')
8082
assert result.ok

0 commit comments

Comments
 (0)