You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by cc...@apache.org on 2016/08/03 03:38:18 UTC

incubator-mynewt-newt git commit: newt - Fix "newt test" panic.

Repository: incubator-mynewt-newt
Updated Branches:
  refs/heads/develop 0694075af -> d255509e9


newt - Fix "newt test" panic.


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/commit/d255509e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/tree/d255509e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/diff/d255509e

Branch: refs/heads/develop
Commit: d255509e974d0837116af3390827ed24ce82ff8e
Parents: 0694075
Author: Christopher Collins <cc...@apache.org>
Authored: Tue Aug 2 20:37:52 2016 -0700
Committer: Christopher Collins <cc...@apache.org>
Committed: Tue Aug 2 20:37:52 2016 -0700

----------------------------------------------------------------------
 newt/builder/build.go | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/d255509e/newt/builder/build.go
----------------------------------------------------------------------
diff --git a/newt/builder/build.go b/newt/builder/build.go
index 3d54f0e..383bb95 100644
--- a/newt/builder/build.go
+++ b/newt/builder/build.go
@@ -376,10 +376,10 @@ func (b *Builder) PrepBuild() error {
 			appBpkg = b.AddPackage(appPkg)
 		}
 		b.appPkg = appBpkg
-	}
 
-	b.featureBlackList = append(b.featureBlackList, appBpkg.FeatureBlackList())
-	b.featureWhiteList = append(b.featureWhiteList, appBpkg.FeatureWhiteList())
+		b.featureBlackList = append(b.featureBlackList, appBpkg.FeatureBlackList())
+		b.featureWhiteList = append(b.featureWhiteList, appBpkg.FeatureWhiteList())
+	}
 
 	bspBpkg := b.Packages[bspPkg]
 	if bspBpkg == nil {