Releases: ARMmbed/htrun
Releases · ARMmbed/htrun
Stable: Serial port and plugins improvements
Changes/bug-fixes:
- Add dynamic (from directory) host test loading feature
- Add new switch
-e
/--enum-host-tests
- Add path and module load checks in function loading local host tests:
mymodule/test/host_tests
- Add new switch
- Change default baud-rate to
115200
- Add new format of serial port:
- Use PORT:SPEED or PORT:SPEED:TIMEOUT to define more specific characteristics of serial port
- Example 1:
-p COM4:115200
- Example 2:
COM4:115200:0.5
where 0.5 is a serial port default timeout
- Add API to determine if host test plugin works under OS
- Add OS support flag to --plugins switch
- Add
LinuxGeneric
value to OS detection function
- Add
required_parameters
attribute to plugin base - Fixed: usage of default params in Mbed::copy_image() method
- Fixed: plugin error prints for missing params
- Fixed: Move UDP server init from ctor to separate function
- Disable JN51xx plugins (reason: very unstable)
- Allign with latest Python Coverage tool
README.md
polishing
Stable: TechCon 2015 OOB testing bugfixes and improvements
Changes / bug-fixes:
- Add host test end condition when {end} delimiter is present on output
- Add
Test::detect_test_config(self, verbose, timeout)
timeout parameter - Add APIs to detect host OS by htrun
- Add
CONTRIBUTING.md
- Bug-fix for #26
Stable: Command line and copy plugins improvements
Changes / Improvements:
- Add 'send break functionality' with new CLI
-b
switch - Bug-fix: Add image_path normalisation
- Add pylint scripts:
lintme.sh
andlintme_ci.sh
- Add
.travis.yml
file
Stable: Host test integration with mbed-greentea improvements
Changes / Bugfixes:
- Add MANIFEST.in to fix pip install issues
- Bugfix: add handling for error where host test name is not valid, registered host test
- Bugfix: host test was executed even when wrong host test name was given
- Improvement: change printout in wait_auto host test
Updates to documentation and packege meta-data
Changes:
- Changes in documentation
- Updated information in
setup.py
to match current project status - Added mbed-client first host tests
Stable: 100% CPU usage bugfix
Changes:
- Bugfix: host_test.detect_test_config() method didn't check if serial.readline() fails
mbedhtrun
was parsing test case properties after serial port initialization (with polling failed)- Bug originated from Greentea issue report: ARMmbed/greentea#14
- Add few debug prints to serial port functions
Stable: Minor updates to stlink flashing plugin
Changes/bugfixes:
stlink
flashing plugin improvements:- Added flash address
0x0800 0000
tostlink
flashing plugin - Added 'flashing verification flag
-V
tostlink
flashing plugin
- Added flash address
- Added
--version
switch
Stable: Support for ST-LINK_CLI copy and reset methods
Changes/Bugfixes:
- Added
stlink
copy and reset plugin- Added static
stlink
plugin registration in plugin registry mechanism
Example:
- Added static
$ mbedhtrun -f ./DISCO_F429ZI/GCC_ARM/MBED_A1/basic.bin -c stlink -r stlink -p COM61
- Added plugin reset info for
--help
option - Added new CLI option
--plugins
used to print available plugins
Example:
$ mbedhtrun --plugins
+----------------------------------+-------------+------------------------------+--------+
| name | type | capabilities | stable |
+----------------------------------+-------------+------------------------------+--------+
| HostTestPluginCopyMethod_Mbed | CopyMethod | shutil, default | True |
| HostTestPluginCopyMethod_Shell | CopyMethod | shell, cp, copy, xcopy | True |
| HostTestPluginCopyMethod_Silabs | CopyMethod | eACommander, eACommander-usb | True |
| HostTestPluginCopyMethod_Stlink | CopyMethod | stlink | False |
| HostTestPluginResetMethod_Mbed | ResetMethod | default | True |
| HostTestPluginResetMethod_SiLabs | ResetMethod | eACommander, eACommander-usb | True |
| HostTestPluginResetMethod_Stlink | ResetMethod | stlink | False |
+----------------------------------+-------------+------------------------------+--------+
Stable: Copy method update and Doxygen changes
Changes/bugfixes:
- Fixed issue #18 - Default copy method on Mac OS X causes failure in Flash Algorithm.
- Shell copy method should be default one so we do not have to use
-c
option to make thing works out of the box. - Added Doxygen documentation to tool source code.
Stable: New base host test class (rampUp, rampDown model)
Changes:
- Bugfix: long path to JSON file contained quote chars.
- Fixed issue detected with nose tests.
- Removed extra prints.
- Added base class for all host test with rampUp(), rampDown() and test(self, selftest) function:
class BaseHostTest():
def rumpUp(self):
pass
def test(self, selftest):
pass
def rampDown(self):
pass