forked from platformio/platformio-core
Use named context meta vars for unit testing
This commit is contained in:
1 parent
bae21f1cdd
commit
33d16bfcf0
4 files changed
+17
-9
No files matched your search
@@ -314,8 +314,8 @@ def ProcessTest(env):
|
||||
env.Prepend(LIBS=[unitylib])
|
||||
|
||||
src_filter = ["+<*.cpp>", "+<*.c>"]
|
||||
if "PIOTEST" in env:
|
||||
src_filter.append("+<%s%s>" % (env['PIOTEST'], sep))
|
||||
if "PIOTEST_RUNNING_NAME" in env:
|
||||
src_filter.append("+<%s%s>" % (env['PIOTEST_RUNNING_NAME'], sep))
|
||||
env.Replace(PIOTEST_SRC_FILTER=src_filter)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user