mirror of https://github.com/ARMmbed/mbed-os.git
Replace default_handlers value by a reference.
parent
4bf28d474c
commit
eed52a05d5
|
@ -34,6 +34,7 @@ const handlers_t utest::v1::verbose_continue_handlers = {
|
|||
verbose_case_failure_handler
|
||||
};
|
||||
|
||||
const handlers_t& utest::v1::default_handlers = greentea_abort_handlers;
|
||||
|
||||
// --- SPECIAL HANDLERS ---
|
||||
static void test_failure_handler(const failure_t failure) {
|
||||
|
|
|
@ -185,7 +185,7 @@ namespace v1 {
|
|||
extern const handlers_t selftest_handlers;
|
||||
|
||||
/// The greentea aborting handlers are the default
|
||||
const handlers_t default_handlers = greentea_abort_handlers;
|
||||
extern const handlers_t& default_handlers;
|
||||
|
||||
} // namespace v1
|
||||
} // namespace utest
|
||||
|
|
Loading…
Reference in New Issue