-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix TC_SWDIAG_3_1.yaml test case on Linux (#15215)
* Fix TC_SWDIAG_3_1.yaml test case on Linux - The test case previously expected used/free heap value of 0. - Now the SDK is implementing heap read properly from Linux when built with glibc. This made the code return a real value that fails the test. - Overall, there is no "value" value for heap, we just need a value. The explicit value was replaced with expecting a returned value back. * Restyled by whitespace * Restyled by shfmt Co-authored-by: Restyled.io <[email protected]>
- Loading branch information
Showing
4 changed files
with
32 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/usr/bin/env bash | ||
# | ||
# | ||
# Copyright (c) 2022 Project CHIP Authors | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
|
||
# | ||
# Description: | ||
# Run this from root of SDK to regenerate only the ZAP needed by chip-tool, | ||
# rather than all of zap like `./scripts/tools/zap_regen_all.py | ||
# | ||
|
||
./scripts/tools/zap/generate.py src/controller/data_model/controller-clusters.zap \ | ||
-o zzz_generated/chip-tool/zap-generated -t examples/chip-tool/templates/templates.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.