Use named context meta vars for unit testing

This commit is contained in:
Ivan Kravets
2019-05-31 15:47:25 +03:00
parent bae21f1cdd
commit 33d16bfcf0
4 changed files with 17 additions and 9 deletions
+2 -2
View File
@@ -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)