From b5ddf380ca3412f5b948550bf59f8dfb9b1d6937 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Sat, 21 Jan 2017 19:58:20 +0200 Subject: [PATCH] =?UTF-8?q?Add=20new=20option=20=E2=80=9C--no-reset?= =?UTF-8?q?=E2=80=9D=20to=20=E2=80=9Cpio=20test=E2=80=9D=20=20command?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HISTORY.rst | 2 ++ docs | 2 +- platformio/__init__.py | 2 +- platformio/commands/test.py | 1 + platformio/pioplus.py | 2 +- 5 files changed, 6 insertions(+), 3 deletions(-) diff --git a/HISTORY.rst b/HISTORY.rst index fb8fa6a5..abaadee8 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -19,6 +19,8 @@ PlatformIO 3.0 * Show detailed info about a library using `pio lib show `__ command (`issue #430 `_) +* Added new option ``--no-reset`` to `pio test `__ + command (allows to avoid automatic board's auto-reset when gathering test results) * Added support for templated methods in ``*.ino to *.cpp`` converter (`pull #858 `_) * Produce less noisy output when ``-s/--silent`` options are used for diff --git a/docs b/docs index f07d51a8..6e750d26 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit f07d51a851f9652c8f92c00b0ffb9bea785fa6b2 +Subproject commit 6e750d26fe6889b1a439750fcbf61ab64bae8039 diff --git a/platformio/__init__.py b/platformio/__init__.py index c14da88f..f62f00ab 100644 --- a/platformio/__init__.py +++ b/platformio/__init__.py @@ -14,7 +14,7 @@ import sys -VERSION = (3, 3, "0a4") +VERSION = (3, 3, "0a5") __version__ = ".".join([str(s) for s in VERSION]) __title__ = "platformio" diff --git a/platformio/commands/test.py b/platformio/commands/test.py index 714113ce..99760db6 100644 --- a/platformio/commands/test.py +++ b/platformio/commands/test.py @@ -37,6 +37,7 @@ from platformio.pioplus import pioplus_call resolve_path=True)) @click.option("--without-building", is_flag=True) @click.option("--without-uploading", is_flag=True) +@click.option("--no-reset", is_flag=True) @click.option("--verbose", "-v", is_flag=True) def cli(*args, **kwargs): # pylint: disable=unused-argument pioplus_call(sys.argv[1:]) diff --git a/platformio/pioplus.py b/platformio/pioplus.py index 56fefa66..0008c178 100644 --- a/platformio/pioplus.py +++ b/platformio/pioplus.py @@ -27,7 +27,7 @@ PACKAGE_DEPS = { }, "tool": { "name": "tool-pioplus", - "requirements": ">=0.6.6,<2" + "requirements": ">=0.6.9,<2" } }