mirror of https://github.com/ARMmbed/mbed-os.git
Adding checks so smart copy is only imported if mbedls is available
parent
19978dd9a8
commit
2fa3b5fda9
|
@ -21,7 +21,12 @@ import host_test_registry
|
|||
import module_copy_mbed
|
||||
import module_copy_shell
|
||||
import module_copy_silabs
|
||||
import module_copy_smart
|
||||
|
||||
try:
|
||||
import module_copy_smart
|
||||
except:
|
||||
pass
|
||||
|
||||
#import module_copy_firefox
|
||||
import module_copy_mps2
|
||||
|
||||
|
@ -38,7 +43,12 @@ HOST_TEST_PLUGIN_REGISTRY = host_test_registry.HostTestRegistry()
|
|||
# Some plugins are commented out if they are not stable or not commonly used
|
||||
HOST_TEST_PLUGIN_REGISTRY.register_plugin(module_copy_mbed.load_plugin())
|
||||
HOST_TEST_PLUGIN_REGISTRY.register_plugin(module_copy_shell.load_plugin())
|
||||
HOST_TEST_PLUGIN_REGISTRY.register_plugin(module_copy_smart.load_plugin())
|
||||
|
||||
try:
|
||||
HOST_TEST_PLUGIN_REGISTRY.register_plugin(module_copy_smart.load_plugin())
|
||||
except:
|
||||
pass
|
||||
|
||||
HOST_TEST_PLUGIN_REGISTRY.register_plugin(module_reset_mbed.load_plugin())
|
||||
#HOST_TEST_PLUGIN_REGISTRY.register_plugin(module_copy_firefox.load_plugin())
|
||||
|
||||
|
|
Loading…
Reference in New Issue