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/11/10 22:38:16 UTC
[04/50] incubator-mynewt-newt git commit: newt - Don't save
individual unittest targets
newt - Don't save individual unittest targets
Whenever a unittest package was exeuted via "newt test", a new target
was getting saved as a subdirectory of targets/unittest. This cluttered
the output of "newt target show" with extraneous information.
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/611d95bd
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/tree/611d95bd
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/diff/611d95bd
Branch: refs/heads/master
Commit: 611d95bd6b52c217d18f48116c567d0efc92c9b1
Parents: 546f9cc
Author: Christopher Collins <cc...@apache.org>
Authored: Wed Oct 26 08:58:39 2016 -0700
Committer: Christopher Collins <cc...@apache.org>
Committed: Wed Oct 26 08:58:39 2016 -0700
----------------------------------------------------------------------
newt/cli/build_cmds.go | 3 ---
1 file changed, 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/611d95bd/newt/cli/build_cmds.go
----------------------------------------------------------------------
diff --git a/newt/cli/build_cmds.go b/newt/cli/build_cmds.go
index 21ab145..26f3f07 100644
--- a/newt/cli/build_cmds.go
+++ b/newt/cli/build_cmds.go
@@ -290,9 +290,6 @@ func testRunCmd(cmd *cobra.Command, args []string) {
}
t = baseTarget.Clone(proj.LocalRepo(), targetName)
- if err := t.Save(); err != nil {
- NewtUsage(nil, err)
- }
}
b, err := builder.NewTargetTester(t, pack)