-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use libshell under examples/platform/linux/AppMain.cpp only if chip_b… #7813
Use libshell under examples/platform/linux/AppMain.cpp only if chip_b… #7813
Conversation
…uild_libshell is true
|
||
declare_args() { | ||
# Enable libshell support. | ||
chip_build_libshell = false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems fine, but should this default to true
on Linux to preserve current behavior?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm fine to enable it back into examples/platform/linux/BUILD.gn
for Linux
platform if required. I have disabled it mostly because chip_build_libshell
was false
by default in src/lib/BUILD.gn
and other platforms enable it conditionally.
Furthermore, I've tried to see what it does by typing commands in and there is not much commands at the moment, so I'm not sure how much it is used. Again if someone insist, I will add it back.
For references the commands are:
help
help
base64 Base64 encode / decode utilities
exit Exit the shell application
help List out all top level commands
version Output the software version
config Dump device configuration. Usage: config [param_name]
Done
…uild_libshell is true (project-chip#7813)
…7612e5cc3dd24e1bc6dd278462b9de8dcb9
… autogen code. Last commit before rebasing to upstream.
…uild_libshell is true
Problem
./scripts/tests/test_suites.sh
can not be runned under darwin because of the usage of libshell.Change overview
examples/platform/linux/AppMain.cpp
only ifchip_build_libshell=true
touch /tmp/all-clusters-log
toscripts/tests/test_suites.sh
to avoid an error messagegrep: /tmp/all-clusters-log: No such file or directory
Testing
This was tested running
scripts/tests/test_suites.sh
on the command line. It was not working previously.