andrzej-kaczmarek commented on PR #493: URL: https://github.com/apache/mynewt-newt/pull/493#issuecomment-1319864536
So if this is used for unit tests (i.e. `newt test`) perhaps a better idea is to introduce mock packages that can be added to unit tests build only and they will replace other package, smth like this: ``` pkg.type: mock pkg.mock: @apache-mynewt-core/sys/flash_map ``` This way you don't break dependencies since package is replaced instead of being ignored. Perhaps mock packages should have also some restrictions, e.g. they can only change implementation and other settings are used from original package, but this is tbd. I'd like to avoid sceanrios where dependencies need to be resolved again or smth since that process is complicated enough already :) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@mynewt.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org