Repository: incubator-mynewt-core Updated Branches: refs/heads/develop f5d513f89 -> b06c2a05c
unittest - Use absolute paths Previously, the unittest target assumed it was being run from within the apache-mynewt-core repo. If the user attempted to run tests from their own project, newt would complain about unresolved packages. The fix is to prepend each package name with "@apache-mynewt-core/" Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/b06c2a05 Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/b06c2a05 Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/b06c2a05 Branch: refs/heads/develop Commit: b06c2a05ca2583616194da8825475fad36b393e6 Parents: f5d513f Author: Christopher Collins <[email protected]> Authored: Wed Jan 18 11:04:55 2017 -0800 Committer: Christopher Collins <[email protected]> Committed: Wed Jan 18 11:06:27 2017 -0800 ---------------------------------------------------------------------- targets/unittest/pkg.yml | 2 +- targets/unittest/target.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/b06c2a05/targets/unittest/pkg.yml ---------------------------------------------------------------------- diff --git a/targets/unittest/pkg.yml b/targets/unittest/pkg.yml index 30ad3f4..a026761 100644 --- a/targets/unittest/pkg.yml +++ b/targets/unittest/pkg.yml @@ -24,4 +24,4 @@ pkg.description: "Used for unit tests by the \"newt test\" command." pkg.author: "Apache Mynewt <[email protected]>" pkg.homepage: "http://mynewt.apache.org/" -pkg.deps: sys/sysinit +pkg.deps: "@apache-mynewt-core/sys/sysinit" http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/b06c2a05/targets/unittest/target.yml ---------------------------------------------------------------------- diff --git a/targets/unittest/target.yml b/targets/unittest/target.yml index 97abb42..e10a8ac 100644 --- a/targets/unittest/target.yml +++ b/targets/unittest/target.yml @@ -18,6 +18,6 @@ # ### Target: targets/unittest -target.bsp: "hw/bsp/native" +target.bsp: "@apache-mynewt-core/hw/bsp/native" target.build_profile: "debug" -target.compiler: "compiler/sim" +target.compiler: "@apache-mynewt-core/compiler/sim"
