Skip to content

Commit

Permalink
fix url
Browse files Browse the repository at this point in the history
  • Loading branch information
Massimiliano Pippi authored and masci committed Jan 22, 2020
1 parent 97d191b commit 1b516a6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test_core.py
Expand Up @@ -14,7 +14,6 @@
# a commercial license, send an email to license@arduino.cc.
import os
import platform

import pytest
import simplejson as json

Expand Down Expand Up @@ -107,11 +106,12 @@ def test_core_updateindex_invalid_url(run_command):


@pytest.mark.skipif(
platform.system() in ("Windows", "Darwin"), reason="core fails to install properly",
platform.system() == "Windows",
reason="core fails with fatal error: bits/c++config.h: No such file or directory",
)
def test_core_install_esp32(run_command, data_dir):
# update index
url = "https://arduino.esp8266.com/stable/package_esp8266com_index.json"
url = "https://dl.espressif.com/dl/package_esp32_index.json"
assert run_command("core update-index --additional-urls={}".format(url))
# install 3rd-party core
assert run_command("core install esp32:esp32 --additional-urls={}".format(url))
Expand Down

0 comments on commit 1b516a6

Please sign in to comment.