forked from Imagelibrary/rtems
tests/smptests: Normal use of test extension
This commit is contained in:
@@ -63,7 +63,6 @@ static void fatal_extension(
|
||||
}
|
||||
|
||||
rtems_test_endk();
|
||||
rtems_test_fatal_extension(source, is_internal, code);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -122,7 +121,8 @@ static rtems_status_code test_driver_init(
|
||||
{ .initialization_entry = test_driver_init }
|
||||
|
||||
#define CONFIGURE_INITIAL_EXTENSIONS \
|
||||
{ .fatal = fatal_extension }
|
||||
{ .fatal = fatal_extension }, \
|
||||
RTEMS_TEST_INITIAL_EXTENSION
|
||||
|
||||
#define CONFIGURE_SMP_APPLICATION
|
||||
|
||||
|
||||
@@ -68,7 +68,6 @@ static void fatal_extension(
|
||||
}
|
||||
|
||||
rtems_test_endk();
|
||||
rtems_test_fatal_extension(source, is_internal, code);
|
||||
} else {
|
||||
assert(source == RTEMS_FATAL_SOURCE_SMP);
|
||||
assert(code == SMP_FATAL_SHUTDOWN);
|
||||
@@ -127,7 +126,8 @@ static rtems_status_code test_driver_init(
|
||||
{ .initialization_entry = test_driver_init }
|
||||
|
||||
#define CONFIGURE_INITIAL_EXTENSIONS \
|
||||
{ .fatal = fatal_extension }
|
||||
{ .fatal = fatal_extension }, \
|
||||
RTEMS_TEST_INITIAL_EXTENSION
|
||||
|
||||
#define CONFIGURE_SMP_APPLICATION
|
||||
|
||||
|
||||
Reference in New Issue
Block a user