From 34d5358eaa9de7cadc8db7286936fa25d3cdcd30 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Tue, 26 Jan 2016 13:02:33 +0200 Subject: [PATCH] Exclude "test*" folder by default from build process --- HISTORY.rst | 1 + platformio/builder/tools/platformio.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/HISTORY.rst b/HISTORY.rst index 82981189..a34feec2 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -23,6 +23,7 @@ PlatformIO 2.0 (`issue #465 `_) * Set 1Mb SPIFFS for Espressif boards by default (`issue #458 `_) +* Exclude ``test*`` folder by default from build process * Fixed builder for mbed framework and ST STM32 platform diff --git a/platformio/builder/tools/platformio.py b/platformio/builder/tools/platformio.py index b7a9fbf6..ee83a1fe 100644 --- a/platformio/builder/tools/platformio.py +++ b/platformio/builder/tools/platformio.py @@ -27,7 +27,8 @@ from platformio.util import pioversion_to_intstr SRC_BUILD_EXT = ["c", "cpp", "S", "spp", "SPP", "sx", "s", "asm", "ASM"] SRC_HEADER_EXT = ["h", "hpp"] SRC_DEFAULT_FILTER = " ".join([ - "+<*>", "-<.git%s>" % sep, "-" % sep, "-" % sep + "+<*>", "-<.git%s>" % sep, "-" % sep, "-" % sep, + "-" % sep ])