-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iot2050-firmware-update: Add unit tests
Signed-off-by: Li Hua Qian <[email protected]>
- Loading branch information
Showing
3 changed files
with
815 additions
and
0 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,14 @@ | ||
# Files for Firmware Update Tool | ||
|
||
- `iot2050-firmware-update.tmpl`: Firmware Update Tool source code | ||
- `iot2050_firmware_update.py`: A link to iot2050-firmware-update.tmpl, which is | ||
used by unittest | ||
- `test_iot2050_firmware_update.py`: The unit test file | ||
- `update.conf.json.tmpl`: Maintaining firmware version and checksum for firmware | ||
validation | ||
|
||
# How to run the unittest? | ||
|
||
```py | ||
python3 -m unittest test_iot2050_firmware_update.py | ||
``` |
1 change: 1 addition & 0 deletions
1
recipes-app/iot2050-firmware-update/files/iot2050_firmware_update.py
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 @@ | ||
iot2050-firmware-update.tmpl |
Oops, something went wrong.